diff --git a/flake.lock b/flake.lock index 9ad7539..1856103 100644 --- a/flake.lock +++ b/flake.lock @@ -23,11 +23,11 @@ "utils": "utils" }, "locked": { - "lastModified": 1659398318, - "narHash": "sha256-5wovS14I/DNXwfiMP402Ut2kxI58CO1wD943fboWMDw=", + "lastModified": 1659484873, + "narHash": "sha256-6VoPiGyDdjBHOJ3IpS24lY1lrDiOHeuEefOFI0qz3WE=", "owner": "nix-community", "repo": "home-manager", - "rev": "77648a07e459adff69b2c4033a77b2cababb5843", + "rev": "d8d9ff0b2df77defa10375c6665b51f0251c34d6", "type": "github" }, "original": { @@ -38,11 +38,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1659219666, - "narHash": "sha256-pzYr5fokQPHv7CmUXioOhhzDy/XyWOIXP4LZvv/T7Mk=", + "lastModified": 1659522808, + "narHash": "sha256-HBcM19nGhI3IWwPNVlYb0MZ8VW6iKp4JbAVkeIHVykc=", "owner": "nixos", "repo": "nixpkgs", - "rev": "7b9be38c7250b22d829ab6effdee90d5e40c6e5c", + "rev": "168d1c578909dc143ba52dbed661c36e76b12b36", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 509972b..5ab09ea 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,6 @@ # FIXME replace with your hostname your-hostname = nixpkgs.lib.nixosSystem { pkgs = nixpkgs.legacyPackages.x86_64-linux; - system = "x86_64-linux"; modules = [ ./nixos/configuration.nix ]; # Pass inputs down to our config, so that they can consume flake inputs diff --git a/nixos/hardware-configuration.nix b/nixos/hardware-configuration.nix index 25be145..dd00939 100644 --- a/nixos/hardware-configuration.nix +++ b/nixos/hardware-configuration.nix @@ -4,4 +4,7 @@ device = "/dev/sda1"; fsType = "ext4"; }; + + # Set your system kind (needed for flakes) + nixpkgs.hostPlatform = "x86_64-linux"; }