set up printers

This commit is contained in:
Rouven Seifert 2023-03-06 18:07:49 +01:00
parent 223b570ba6
commit 06c7893ad7
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
2 changed files with 113 additions and 11 deletions

View file

@ -39,6 +39,22 @@
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1673956053,
"narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1676283394,
@ -54,6 +70,43 @@
"type": "github"
}
},
"flake-utils_2": {
"locked": {
"lastModified": 1667395993,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
"nixvim",
"pre-commit-hooks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1660459072,
"narHash": "sha256-8DFJjXG8zqoONA1vXtgeKXy68KdJL5UaXR8NtVMUbx8=",
"owner": "hercules-ci",
"repo": "gitignore.nix",
"rev": "a20de23b925fd8264fd7fad6454652e142fd7f73",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "gitignore.nix",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -64,11 +117,11 @@
]
},
"locked": {
"lastModified": 1678019241,
"narHash": "sha256-ntj0u3guaIu9dT8aZ3HtnEVhIsibtM7EaG/2VteKaTw=",
"lastModified": 1678109311,
"narHash": "sha256-Q64FoCH5rp3XHoC8u1+KyjLEFGTY7kX9YaIaYfugvfY=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "e314f6cf211e480ab8fa101a017e593a9bb9f21b",
"rev": "04d6cad67557512452decbfe888c68fa11338a96",
"type": "github"
},
"original": {
@ -210,6 +263,22 @@
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1673800717,
"narHash": "sha256-SFHraUqLSu5cC6IxTprex/nTsI81ZQAtDvlBvGDWfnA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2f9fd351ec37f5d479556cd48be4ca340da59b8f",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-22.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-stable_2": {
"locked": {
"lastModified": 1677948530,
"narHash": "sha256-BkQjq8AGHD55RJe4PUnrWRZZ8jS64p/k0bGDck5wKwY=",
@ -233,14 +302,15 @@
],
"nixpkgs": [
"nixpkgs"
]
],
"pre-commit-hooks": "pre-commit-hooks"
},
"locked": {
"lastModified": 1677896773,
"narHash": "sha256-YfmVSWbVm2J/AxW5u+QvyLg6TVxV87lL8eJo2cNejB4=",
"lastModified": 1678115176,
"narHash": "sha256-uQ16lon2tDtzwgpX0CmNus7//xvO+bV8iPvr2jKwOvE=",
"owner": "pta2002",
"repo": "nixvim",
"rev": "c5f31f5677fdc254919a53976a3968dfbc92de0d",
"rev": "2c333c86d08218af1bdcad39be58ee2bacd991fa",
"type": "github"
},
"original": {
@ -276,6 +346,31 @@
"type": "github"
}
},
"pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat",
"flake-utils": "flake-utils_2",
"gitignore": "gitignore",
"nixpkgs": [
"nixvim",
"nixpkgs"
],
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1677722096,
"narHash": "sha256-7mjVMvCs9InnrRybBfr5ohqcOz+pyEX8m22C1XsDilg=",
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"rev": "61a3511668891c68ebd19d40122150b98dc2fe3b",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"type": "github"
}
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
@ -296,7 +391,7 @@
"nixpkgs": [
"nixpkgs"
],
"nixpkgs-stable": "nixpkgs-stable"
"nixpkgs-stable": "nixpkgs-stable_2"
},
"locked": {
"lastModified": 1677987270,

View file

@ -6,8 +6,7 @@
[
./hardware-configuration.nix
./modules/networks
./modules/greetd
./modules/snapper
./modules/greetd ./modules/snapper
../../shared/vim.nix
../../shared/sops.nix
../../shared/gpg.nix
@ -84,7 +83,14 @@
services = {
blueman.enable = true; # bluetooth
devmon.enable = true; # automount stuff
printing.enable = true;
printing = {
enable = true;
#drivers = with pkgs; [ gutenprint gutenprint-bin ];
};
avahi = {
enable = true;
nssmdns = true;
};
fprintd.enable = true; # log in using fingerprint
openssh.enable = true; # enabled ssh to have the host keys
btrfs.autoScrub.enable = true; # periodically check filesystem and repair it
@ -141,6 +147,7 @@
python3
zip
unzip
mupdf
];
system.stateVersion = "22.11";