feat: FLAKERO

+1 -1
configuration.nix systems/koumakan/configuration.nix
···
[ # Include the results of the hardware scan.
./hardware-configuration.nix
-
./programs
+
../../programs
./networking
];
creds/nma.cry systems/koumakan/nma.cry
+48
flake.lock
···
+
{
+
"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": 1691592289,
+
"narHash": "sha256-Lqpw7lrXlLkYra33tp57ms8tZ0StWhbcl80vk4D90F8=",
+
"owner": "NixOS",
+
"repo": "nixpkgs",
+
"rev": "9034b46dc4c7596a87ab837bb8a07ef2d887e8c7",
+
"type": "github"
+
},
+
"original": {
+
"id": "nixpkgs",
+
"ref": "nixos-23.05",
+
"type": "indirect"
+
}
+
},
+
"root": {
+
"inputs": {
+
"home-manager": "home-manager",
+
"nixpkgs": "nixpkgs"
+
}
+
}
+
},
+
"root": "root",
+
"version": 7
+
}
+25
flake.nix
···
+
{
+
description = "Gensokyo system configurations";
+
+
inputs = {
+
nixpkgs.url = "nixpkgs/nixos-23.05";
+
+
home-manager.url = "github:nix-community/home-manager/release-23.05";
+
home-manager.inputs.nixpkgs.follows = "nixpkgs";
+
};
+
+
outputs = { nixpkgs, home-manager, ... }:
+
let
+
pkgs = import nixpkgs {};
+
lib = nixpkgs.lib;
+
in {
+
nixosConfigurations = {
+
koumakan = lib.nixosSystem {
+
system = "x86_64-linux";
+
modules = [
+
./systems/koumakan/configuration.nix
+
];
+
};
+
};
+
};
+
}
hardware-configuration.nix systems/koumakan/hardware-configuration.nix
networking/default.nix systems/koumakan/networking/default.nix
networking/firewall.nix systems/koumakan/networking/firewall.nix
networking/interface.nix systems/koumakan/networking/interface.nix
-1
programs/nix.nix
···
nix.package = pkgs.nixFlakes;
}
-