Compare commits
6 Commits
0698de4642
...
50dcd44d56
| Author | SHA1 | Date | |
|---|---|---|---|
| 50dcd44d56 | |||
| 6a75a91227 | |||
| b8de8dd7a7 | |||
| 8f80503ad1 | |||
| 4801a3b702 | |||
| e3d29fac2c |
12
flake.lock
generated
12
flake.lock
generated
@@ -7,11 +7,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1759573136,
|
||||
"narHash": "sha256-ILSPD0Dm8p0w0fCVzOx98ZH8yFDrR75GmwmH3fS2VnE=",
|
||||
"lastModified": 1772845525,
|
||||
"narHash": "sha256-Dp5Ir2u4jJDGCgeMRviHvEQDe+U37hMxp6RSNOoMMPc=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "5f06ceafc6c9b773a776b9195c3f47bbe1defa43",
|
||||
"rev": "27b93804fbef1544cb07718d3f0a451f4c4cd6c0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -22,11 +22,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1759381078,
|
||||
"narHash": "sha256-gTrEEp5gEspIcCOx9PD8kMaF1iEmfBcTbO0Jag2QhQs=",
|
||||
"lastModified": 1772773019,
|
||||
"narHash": "sha256-E1bxHxNKfDoQUuvriG71+f+s/NT0qWkImXsYZNFFfCs=",
|
||||
"owner": "NixOs",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "7df7ff7d8e00218376575f0acdcc5d66741351ee",
|
||||
"rev": "aca4d95fce4914b3892661bcb80b8087293536c6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
modules = [
|
||||
./devices/desk.nix
|
||||
./hardware/nvidia.nix
|
||||
./hardware/scanner.nix
|
||||
|
||||
./configuration.nix
|
||||
./plasma.nix
|
||||
|
||||
24
hardware/scanner.nix
Normal file
24
hardware/scanner.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
hardware.sane = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
extraBackends = [
|
||||
pkgs.epsonscan2
|
||||
pkgs.epkowa
|
||||
];
|
||||
};
|
||||
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
publish.enable = true;
|
||||
publish.addresses = true;
|
||||
publish.userServices = true;
|
||||
};
|
||||
# pkgs.epsonscan2.override = {
|
||||
# withNonFreePlugins = true;
|
||||
# withGUI = false;
|
||||
# };
|
||||
}
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
users.users.shatteredmint = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "nixos-admins" "cdrom" ];
|
||||
extraGroups = [ "wheel" "nixos-admins" "cdrom" "scanner" "lp" ];
|
||||
shell = pkgs.zsh;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKT9u43WNMlu3gnu5z9Twt1vkdNdpf6REfEK/OT4qxjK shatteredmint"
|
||||
@@ -27,7 +27,6 @@
|
||||
highlight = "fg=white,bg=green,bold";
|
||||
};
|
||||
defaultKeymap = "viins";
|
||||
dotDir = ".config/zsh";
|
||||
|
||||
history = {
|
||||
ignoreAllDups = true;
|
||||
@@ -47,9 +46,11 @@
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userEmail = "shatteredmint@gmail.com";
|
||||
userName = "ShatteredMINT";
|
||||
extraConfig = {
|
||||
settings = {
|
||||
user = {
|
||||
email = "shatteredmint@gmail.com";
|
||||
name = "ShatteredMINT";
|
||||
};
|
||||
init.defaultBranch = "main";
|
||||
pull.rebase = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user