This commit is contained in:
Daniel Ziltener 2023-11-17 22:09:42 +01:00
parent 5cd8c090df
commit 1ef2bd811d
Signed by: zilti
GPG key ID: B38976E82C9DAE42
2 changed files with 9 additions and 8 deletions

View file

@ -8,10 +8,14 @@
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./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. # 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; boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "ziltis-desktop"; # Define your hostname. 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. vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget wget
git git
gnumake
]; ];
@ -139,13 +144,6 @@
security.pam.services.swaylock = {}; security.pam.services.swaylock = {};
fileSystems = {
"/".options = [ "compress=zstd" ];
"/home".options = [ "compress=zstd" ];
"/nix".options = [ "compress=zstd" "noatime" ];
# "/swap".options = [ "noatime" ];
};
services.btrfs = { services.btrfs = {
autoScrub = { autoScrub = {
enable = true; enable = true;

View file

@ -10,5 +10,8 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
networkmanager networkmanager
git
wget
gnumake
]; ];
} }