change configuration.nix to work from first install
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
imports =
|
||||
[
|
||||
/etc/nixos/hardware-configuration.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
@@ -18,6 +18,7 @@
|
||||
time.timeZone = "Europe/Oslo";
|
||||
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
swapDevices = [ {device = "/swapfile"; size = 8192; } ];
|
||||
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
@@ -124,4 +125,3 @@
|
||||
system.stateVersion = "25.05"; # dont change ever
|
||||
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -1,2 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
sudo nixos-rebuild switch -I nixos-config=./configuration.nix
|
||||
sudo cp ./configuration.nix /etc/nixos/configuration.nix
|
||||
sudo nixos-rebuild switch --upgrade
|
||||
|
||||
Reference in New Issue
Block a user