This commit is contained in:
joy 2024-12-08 09:25:45 +01:00
parent 92a053fd14
commit 76f5f4159e
7 changed files with 24 additions and 24 deletions

View file

@ -97,11 +97,11 @@
}, },
"locked": { "locked": {
"dir": "pkgs/firefox-addons", "dir": "pkgs/firefox-addons",
"lastModified": 1733488732, "lastModified": 1733630610,
"narHash": "sha256-Evin/MkMF+U1zSFCpCcHsxJQg78ilouObSr7YGAH8v0=", "narHash": "sha256-ygrT4DEeQ4fFpDXIT53ZTsr6cA3pvQTAwQp1GMMq3dI=",
"owner": "rycee", "owner": "rycee",
"repo": "nur-expressions", "repo": "nur-expressions",
"rev": "656d7f28b05f70d132851c8655771f1a29e25a76", "rev": "8a0b6c1bb922a406f3ce4debe5823d7b4850b6dc",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -360,11 +360,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1733220138, "lastModified": 1733384649,
"narHash": "sha256-Yh5XZ9yVurrcYdNTSWxYgW4+EJ0pcOqgM1043z9JaRc=", "narHash": "sha256-K5DJ2LpPqht7K76bsxetI+YHhGGRyVteTPRQaIIKJpw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "bcb68885668cccec12276bbb379f8f2557aa06ce", "rev": "190c31a89e5eec80dd6604d7f9e5af3802a58a13",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -500,11 +500,11 @@
"tinted-tmux": "tinted-tmux" "tinted-tmux": "tinted-tmux"
}, },
"locked": { "locked": {
"lastModified": 1733427445, "lastModified": 1733510476,
"narHash": "sha256-E854RAbAX+DZHDo4HIk2nkqpIvvoAm+P7oDx7TmhWk8=", "narHash": "sha256-RH/8yIuo+fNLCjQ6e1mnXwmmxymjvfWC9JcbDuIA8TM=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "eb918dbffa24c4dae497f3ce3173660f948d5237", "rev": "e309d64fe7f203274a7913e1d2b74307d15ba122",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -51,9 +51,6 @@
server = nixosconf { server = nixosconf {
modules = [./hosts/server]; modules = [./hosts/server];
}; };
iso = nixosconf {
modules = [./hosts/iso];
};
}; };
}; };

View file

@ -23,6 +23,7 @@
gdm.enable = true; gdm.enable = true;
theme.enable = true; theme.enable = true;
hyprland.enable = true; hyprland.enable = true;
networking.enable = true;
imports = [ imports = [
./hardware.nix ./hardware.nix

View file

@ -1,9 +0,0 @@
{modulesPath, ...}: {
imports = [
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
../../modules/system
../../modules/programs
];
nixpkgs.hostPlatform = "x86_64-linux";
}

View file

@ -21,6 +21,7 @@
gdm.enable = true; gdm.enable = true;
theme.enable = true; theme.enable = true;
hyprland.enable = true; hyprland.enable = true;
networking.enable = true;
imports = [ imports = [
./hardware.nix ./hardware.nix

View file

@ -6,6 +6,7 @@
forgejo.enable = true; forgejo.enable = true;
immich.enable = true; immich.enable = true;
docker.enable = true; docker.enable = true;
networking.enable = true;
services.logind.lidSwitch = "ignore"; services.logind.lidSwitch = "ignore";
boot.loader.grub.enable = true; boot.loader.grub.enable = true;

View file

@ -1,5 +1,14 @@
{ {
networking.networkmanager.enable = true; lib,
networking.firewall.enable = false; config,
networking.nameservers = ["9.9.9.9" "149.112.112.112" "2620:fe::fe" "2620:fe::9"]; ...
}: {
options = {
networking.enable = lib.mkEnableOption "";
};
config = lib.mkIf config.networking.enable {
networking.networkmanager.enable = true;
networking.firewall.enable = false;
networking.nameservers = ["9.9.9.9" "149.112.112.112" "2620:fe::fe" "2620:fe::9"];
};
} }