IT WORKED OH MY GOD

This commit is contained in:
Sakooooo 2023-07-05 21:49:44 +03:00
parent fc53a22506
commit bfbc101b10
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 65 additions and 1 deletions

63
flake.lock Normal file
View file

@ -0,0 +1,63 @@
{
"nodes": {
"home-manager": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1687871164,
"narHash": "sha256-bBFlPthuYX322xOlpJvkjUBz0C+MOBjZdDOOJJ+G2jU=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "07c347bb50994691d7b0095f45ebd8838cf6bc38",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-23.05",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1687466461,
"narHash": "sha256-oupXI7g7RPzlpGUfAu1xG4KBK53GrZH8/xeKgKDB4+Q=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "ecb441f22067ba1d6312f4932a7c64efa8d19a7b",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-23.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1688482527,
"narHash": "sha256-9zd0YC2gfsRvVJENZsVs1R5LBj5/t127JlCLggn/970=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c7a18f89ef1dc423f57f3de9bd5d9355550a5d15",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-23.05",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
"nixpkgs": "nixpkgs_2"
}
}
},
"root": "root",
"version": 7
}

View file

@ -8,11 +8,12 @@
home-manager.url = "github:nix-community/home-manager/release-23.05";
};
outputs = { self, nixpkgs }: {
outputs = { self, nixpkgs, ...}@attrs: {
nixosConfigurations = {
# TODO(sako)::rename this
nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
modules = [ ./configuration.nix ];
};