Compare commits

..

6 Commits

Author SHA1 Message Date
50dcd44d56 update options syntax for git & zsh 2026-03-08 09:21:12 +01:00
6a75a91227 update 2026-03-08 09:14:06 +01:00
b8de8dd7a7 update 2026-03-03 23:27:00 +01:00
8f80503ad1 update 2025-11-27 14:33:13 +01:00
4801a3b702 update 2025-11-27 14:31:25 +01:00
e3d29fac2c add scanner support 2025-11-03 17:17:23 +01:00
4 changed files with 37 additions and 11 deletions

12
flake.lock generated
View File

@@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1759573136, "lastModified": 1772845525,
"narHash": "sha256-ILSPD0Dm8p0w0fCVzOx98ZH8yFDrR75GmwmH3fS2VnE=", "narHash": "sha256-Dp5Ir2u4jJDGCgeMRviHvEQDe+U37hMxp6RSNOoMMPc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "5f06ceafc6c9b773a776b9195c3f47bbe1defa43", "rev": "27b93804fbef1544cb07718d3f0a451f4c4cd6c0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -22,11 +22,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1759381078, "lastModified": 1772773019,
"narHash": "sha256-gTrEEp5gEspIcCOx9PD8kMaF1iEmfBcTbO0Jag2QhQs=", "narHash": "sha256-E1bxHxNKfDoQUuvriG71+f+s/NT0qWkImXsYZNFFfCs=",
"owner": "NixOs", "owner": "NixOs",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7df7ff7d8e00218376575f0acdcc5d66741351ee", "rev": "aca4d95fce4914b3892661bcb80b8087293536c6",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -22,6 +22,7 @@
modules = [ modules = [
./devices/desk.nix ./devices/desk.nix
./hardware/nvidia.nix ./hardware/nvidia.nix
./hardware/scanner.nix
./configuration.nix ./configuration.nix
./plasma.nix ./plasma.nix

24
hardware/scanner.nix Normal file
View 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;
# };
}

View File

@@ -6,7 +6,7 @@
users.users.shatteredmint = { users.users.shatteredmint = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "nixos-admins" "cdrom" ]; extraGroups = [ "wheel" "nixos-admins" "cdrom" "scanner" "lp" ];
shell = pkgs.zsh; shell = pkgs.zsh;
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKT9u43WNMlu3gnu5z9Twt1vkdNdpf6REfEK/OT4qxjK shatteredmint" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKT9u43WNMlu3gnu5z9Twt1vkdNdpf6REfEK/OT4qxjK shatteredmint"
@@ -27,7 +27,6 @@
highlight = "fg=white,bg=green,bold"; highlight = "fg=white,bg=green,bold";
}; };
defaultKeymap = "viins"; defaultKeymap = "viins";
dotDir = ".config/zsh";
history = { history = {
ignoreAllDups = true; ignoreAllDups = true;
@@ -47,9 +46,11 @@
programs.git = { programs.git = {
enable = true; enable = true;
userEmail = "shatteredmint@gmail.com"; settings = {
userName = "ShatteredMINT"; user = {
extraConfig = { email = "shatteredmint@gmail.com";
name = "ShatteredMINT";
};
init.defaultBranch = "main"; init.defaultBranch = "main";
pull.rebase = true; pull.rebase = true;
}; };