diff --git a/configs/desktop-packages.nix b/configs/desktop-packages.nix index 3f2932b..127a91d 100644 --- a/configs/desktop-packages.nix +++ b/configs/desktop-packages.nix @@ -6,6 +6,7 @@ # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ + acpitool adafruit-nrfutil alire arduino diff --git a/configs/pkgs.nix b/configs/pkgs.nix index e81a375..ec86514 100644 --- a/configs/pkgs.nix +++ b/configs/pkgs.nix @@ -4,7 +4,6 @@ # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ - acpitool binutils-unwrapped cacert cloc diff --git a/flake.nix b/flake.nix index fa75b00..18205eb 100644 --- a/flake.nix +++ b/flake.nix @@ -13,6 +13,8 @@ disko.url = "github:nix-community/disko"; disko.inputs.nixpkgs.follows = "nixpkgs"; + + }; outputs = inputs@{ @@ -28,6 +30,7 @@ "imladris" "orion" "rift" + "sk" ] (hostName: lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; diff --git a/hw/sk/default.nix b/hw/sk/default.nix new file mode 100644 index 0000000..25237e8 --- /dev/null +++ b/hw/sk/default.nix @@ -0,0 +1,11 @@ +{ inputs, ... }: + +{ + imports = [ + ./hardware-configuration.nix + ./disk-config.nix + ]; + + config = { + }; +} diff --git a/hw/sk/disk-config.nix b/hw/sk/disk-config.nix new file mode 100644 index 0000000..e365d28 --- /dev/null +++ b/hw/sk/disk-config.nix @@ -0,0 +1,35 @@ +{ lib, ... }: + +{ + disko.devices = { + disk = { + main = { + device = lib.mkDefault "/dev/vda"; + type = "disk"; + content = { + type = "gpt"; + partitions = { + ESP = { + type = "EF00"; + size = "1G"; + content = { + type = "filesystem"; + format = "vfat"; + mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; + }; + }; + root = { + size = "100%"; + content = { + type = "filesystem"; + format = "ext4"; + mountpoint = "/"; + }; + }; + }; + }; + }; + }; + }; +}