hosts + update

This commit is contained in:
Ivan Dimitrov 2023-11-01 20:02:35 +02:00
parent 1ce5147b57
commit d90620b402
4 changed files with 41 additions and 158549 deletions

View File

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1696737557, "lastModified": 1698795315,
"narHash": "sha256-YD/pjDjj/BNmisEvRdM/vspkCU3xyyeGVAUWhvVSi5Y=", "narHash": "sha256-fF5ScAWLMHXOuqsbLSG137kS1D+gr9JPtm4H2c4yBbU=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "3c1d8758ac3f55ab96dcaf4d271c39da4b6e836d", "rev": "9bc7d84b8213255ecd5eb6299afdb77c36ece71d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -20,13 +20,33 @@
"type": "github" "type": "github"
} }
}, },
"hosts": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1698849730,
"narHash": "sha256-h0r9xNhMYHMzVDJSXDBO4obFSkUHXMQItxP0m3q1adc=",
"owner": "StevenBlack",
"repo": "hosts",
"rev": "0c204b58b9ee8dbb303fcd29fde6dd71df64313b",
"type": "github"
},
"original": {
"owner": "StevenBlack",
"repo": "hosts",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1696757521, "lastModified": 1698553279,
"narHash": "sha256-cfgtLNCBLFx2qOzRLI6DHfqTdfWI+UbvsKYa3b3fvaA=", "narHash": "sha256-T/9P8yBSLcqo/v+FTOBK+0rjzjPMctVymZydbvR/Fak=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2646b294a146df2781b1ca49092450e8a32814e1", "rev": "90e85bc7c1a6fc0760a94ace129d3a1c61c3d035",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -37,6 +57,7 @@
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"hosts": "hosts",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }
} }

View File

@ -5,12 +5,17 @@
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
hosts = {
url = "github:StevenBlack/hosts";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = outputs =
{ self { self
, nixpkgs , nixpkgs
, home-manager , home-manager
, hosts
, ... , ...
}: }:
let system = "x86_64-linux"; in let system = "x86_64-linux"; in
@ -20,6 +25,7 @@
inherit system; inherit system;
modules = [ modules = [
./sys/laptop ./sys/laptop
hosts.nixosModule
]; ];
}; };
}; };

View File

@ -89,7 +89,14 @@
}; };
}; };
networking.extraHosts = builtins.readFile ./hosts; networking = {
stevenBlackHosts = {
enable = true;
blockFakenews = true;
blockGambling = true;
blockSocial = true;
};
};
programs = { programs = {
gnupg.agent = { gnupg.agent = {

File diff suppressed because it is too large Load Diff