move system to module config

This commit is contained in:
Gabriel Fontes 2022-08-05 21:17:07 -03:00
parent 6e79d80644
commit c5c379f758
No known key found for this signature in database
GPG key ID: 2E54EA7BFE630916
3 changed files with 9 additions and 7 deletions

View file

@ -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": {

View file

@ -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

View file

@ -4,4 +4,7 @@
device = "/dev/sda1";
fsType = "ext4";
};
# Set your system kind (needed for flakes)
nixpkgs.hostPlatform = "x86_64-linux";
}