-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4cd5454
commit eb34097
Showing
8 changed files
with
107 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,6 @@ pi0-deploy: | |
|
||
apu-deploy: | ||
nixos-rebuild switch -j auto --flake .#apu --target-host [email protected] --use-remote-sudo -v | ||
|
||
iso: | ||
nix build .#nixosConfigurations.iso.config.system.build.isoImage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ lib, pkgs, ... }: | ||
|
||
{ | ||
imports = [ | ||
./hardware-configuration.nix | ||
]; | ||
|
||
console.keyMap = "fr"; | ||
|
||
environment.systemPackages = [ | ||
pkgs.fwupd | ||
pkgs.lshw | ||
pkgs.tmux | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ lib, modulesPath, pkgs, ... }: | ||
|
||
{ | ||
imports = [ | ||
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix") | ||
(modulesPath + "/installer/cd-dvd/channel.nix") | ||
]; | ||
|
||
nixpkgs.config.allowUnfree = true; | ||
|
||
boot = { | ||
kernelPackages = pkgs.unstable.linuxKernel.packages.linux_6_8; | ||
|
||
# Needed for https://github.com/NixOS/nixpkgs/issues/58959 | ||
supportedFilesystems = lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ]; | ||
}; | ||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; | ||
|
||
hardware.enableAllFirmware = true; | ||
hardware.enableRedistributableFirmware = true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ config, pkgs, ... }: | ||
|
||
{ | ||
users.users.nixos = { | ||
isNormalUser = true; | ||
description = "NixOS"; | ||
extraGroups = [ "wheel" "networkmanager" ]; | ||
shell = pkgs.bash; | ||
password = "nixos"; | ||
|
||
openssh.authorizedKeys.keys = [ | ||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG8l0V91as58J0G8USUuxqnYZH0InHK317UnTurWgkAK gael@tower" | ||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEDaOQVs/WLWCIahRTfAmolgLV2jWL6EasDM6O++rq1M gael@thinkpad" | ||
]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ config, pkgs, ... }: | ||
|
||
{ | ||
imports = [ | ||
../../mixins/activation/home-report-changes.nix | ||
]; | ||
|
||
home = { | ||
stateVersion = "23.11"; | ||
sessionVariables = { | ||
EDITOR = "vim"; | ||
}; | ||
}; | ||
|
||
programs = { | ||
home-manager.enable = true; | ||
|
||
vim.enable = true; | ||
jq.enable = true; | ||
|
||
fzf = { | ||
enable = true; | ||
tmux.enableShellIntegration = true; | ||
}; | ||
|
||
tmux = { | ||
enable = true; | ||
plugins = with pkgs; [ | ||
tmuxPlugins.tmux-fzf | ||
]; | ||
}; | ||
}; | ||
} |