.
This commit is contained in:
parent
5cd8c090df
commit
1ef2bd811d
2 changed files with 9 additions and 8 deletions
|
@ -8,10 +8,14 @@
|
|||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
"${builtins.fetchTarball "https://github.com/nix-community/disko/archive/master.tar.gz"}/module.nix"
|
||||
./disko-config.nix
|
||||
];
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.efiSupport = true;
|
||||
boot.loader.grub.efiInstallAsRemovable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "ziltis-desktop"; # Define your hostname.
|
||||
|
@ -89,6 +93,7 @@
|
|||
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
wget
|
||||
git
|
||||
gnumake
|
||||
];
|
||||
|
||||
|
||||
|
@ -139,13 +144,6 @@
|
|||
|
||||
security.pam.services.swaylock = {};
|
||||
|
||||
fileSystems = {
|
||||
"/".options = [ "compress=zstd" ];
|
||||
"/home".options = [ "compress=zstd" ];
|
||||
"/nix".options = [ "compress=zstd" "noatime" ];
|
||||
# "/swap".options = [ "noatime" ];
|
||||
};
|
||||
|
||||
services.btrfs = {
|
||||
autoScrub = {
|
||||
enable = true;
|
||||
|
|
3
iso.nix
3
iso.nix
|
@ -10,5 +10,8 @@
|
|||
|
||||
environment.systemPackages = with pkgs; [
|
||||
networkmanager
|
||||
git
|
||||
wget
|
||||
gnumake
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue