Compare commits

..
21 Commits
Author SHA1 Message Date
WinterEkisha 86bac5930e fix 2026-11-17 20:13:02 -08:00
WinterEkisha c10382bd7f Merge branch 'experimental' 2026-11-17 20:12:17 -08:00
WinterEkisha ea8fbe243c feat: Kitty + niri config 2026-11-17 20:10:06 -08:00
WinterEkisha 5c67a02d4b feat: kitty config 2026-11-17 19:26:56 -08:00
WinterEkisha 9fffe416d5 remove: auto-upgrade & gc 2026-11-17 11:23:48 -08:00
WinterEkisha 8dfdf305b7 Merge branch 'refactoring' into experimental 2026-11-17 09:56:57 -08:00
WinterEkisha 0ca8d4fd05 flake update + smth: 2026-11-17 09:55:56 -08:00
WinterEkisha 9f6688b397 fix path 2026-11-17 09:10:23 -08:00
WinterEkisha 32f84fd69e refactor: servers 2026-11-17 09:00:06 -08:00
WinterEkisha 3e662f72f7 refactor: hosts/ 2026-11-17 08:27:51 -08:00
WinterEkisha cedfbd6ef6 fix: paths from refactor 2026-11-16 22:52:07 -08:00
WinterEkisha 03d7b5569d refactor: home/Winter, home/common
home/Winter/ -> home/Winter/Winter/
home/common/ -> home/Winter/common/
2026-11-16 22:48:19 -08:00
WinterEkisha 500c18d8a9 feat: ssh 2026-11-16 22:19:21 -08:00
WinterEkisha 6bb20a8f29 feat: shareability
note: need to refactor further
2026-11-16 15:54:08 -08:00
WinterEkisha 3796bd26c6 feat: niri keybind
sway lock + sileneces lights and sounds
2026-11-15 16:55:34 -08:00
WinterEkisha 4f5f3322e4 feat+refactor: pkgs
added way to choose which package channel to download from
2026-11-15 15:58:33 -08:00
WinterEkisha 973fec46ac chore: comment cleanup 2026-11-15 14:50:23 -08:00
WinterEkisha be4e3096da feat: auto-updates 2026-11-15 12:07:43 -08:00
WinterEkisha 6234cf3435 Merge branch 'main' of thearcticcircle.ddns.net:WinterEkisha/nix-config 2026-11-12 17:33:08 -08:00
WinterEkisha 38f9220937 feat: nvim formatting 2026-11-08 18:25:17 -08:00
WinterEkisha f8f14fa536 wip 2026-11-08 17:58:47 -08:00
45 changed files with 831 additions and 371 deletions

No files matched your search

Generated
+37 -37
View File
@@ -7,11 +7,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1784030954, "lastModified": 1794571619,
"narHash": "sha256-MPMVSBhSEl+ShSrWVN5qH3FiX2gg8LbYA8L3nuQw5VE=", "narHash": "sha256-QYZwkbLVTRjnIy6cQh5qznKOgrBsxA1SK5jgq+KaBBc=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "25ea4fd7a42359379da9ddadedda1c477caa4ae0", "rev": "1240df7bd17323d626c94fb50b8ed5a02a185a75",
"revCount": 1376, "revCount": 1384,
"type": "git", "type": "git",
"url": "https://codeberg.org/LGFae/awww" "url": "https://codeberg.org/LGFae/awww"
}, },
@@ -44,11 +44,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1790898470, "lastModified": 1793576659,
"narHash": "sha256-zTwuwezD0w3hpga6a6P8emidzAZFyWqlNeRBlpWOOl8=", "narHash": "sha256-V1h85lUaJBQoHFrB2vpXZOE0Ju1MYSnIpsehoVZYlDo=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "024633cd702b10285db5cb19b40ad48d2399ba60", "rev": "ea2630b7470978622c7689a1ff75d2b389175399",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -64,16 +64,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1779506708, "lastModified": 1794943722,
"narHash": "sha256-QOD/CNm196nCJRheux/URi4/HE66fthdOMqCJoPP1Y0=", "narHash": "sha256-Qkh6uNyMsic61gfyOO8VXnC+HEBdti6Xe2kKiMf66O0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "3ee51fbdac8c8bdfe1e7e1fcaba6520a563f394f", "rev": "5643e73425b85ac359ba2aaf83deae8ce1cd7968",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-25.11", "ref": "release-26.05",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@@ -112,11 +112,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1793876309, "lastModified": 1794750194,
"narHash": "sha256-Wojg9lIH/hDH91iDVH2/EPw8oDSpxjxhXONbU1yf4Zg=", "narHash": "sha256-c6ZxSsG1c2luSrbESFfp9Jq2pSVhGst2to4aIzt2Nes=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f9a75f41be3a74eab55d3a7679d34ad6cc0da977", "rev": "1a08097fc1ed85575db39763b2c4a5d8970a37ba",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -128,27 +128,27 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1782847189, "lastModified": 1794872590,
"narHash": "sha256-twXPFqFsrrY5r28Zh7Homgcp2gUMBgQ6WDS98Q/3xFI=", "narHash": "sha256-E+XLAfnC7+bdr4qlEgRv6cdGmiqTU5oeFNKCha7epqQ=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b6018f87da91d19d0ab4cf979885689b469cdd41", "rev": "f68407657ad294471eb4b2e65d193df26edf729f",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-25.11", "ref": "nixos-26.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1791487292, "lastModified": 1793977579,
"narHash": "sha256-tqM7xDEsaeK1p6VvRygeZ9LkQRpUUkbRT02BHv6hnTM=", "narHash": "sha256-WrSODdZFVIs/Hh2NzC0bY+ROByi0bATg8WfePX8dPj8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8edc0c72e3a38faf5434e40d1f19431125fe4b30", "rev": "4fe25e12eb9f4c744966dd3de5a05246cf098601",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -176,11 +176,11 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1793341285, "lastModified": 1794537146,
"narHash": "sha256-LOv16TsMYV2/8BUYnhSxHkOASe7es2ORbqMeLlZJ8Hc=", "narHash": "sha256-bTKSclXJAmo9qdxPedTBHUGr8awPr4BrbOoOutJsYIc=",
"rev": "1c89083e451e891152365b799595cf7790a43325", "rev": "d5cc6833999746cffdfe0598f7bc801a57b887a9",
"type": "tarball", "type": "tarball",
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1105037.1c89083e451e/nixexprs.tar.xz" "url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1119549.d5cc68339997/nixexprs.tar.xz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@@ -194,11 +194,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1792203519, "lastModified": 1794943345,
"narHash": "sha256-yJ072hxngo/srNdLTp4BlFeo0hedwnKicI3TGlSXLFE=", "narHash": "sha256-1d33ym1V/UxX9pcNbrpG0/P8riFHE8VuVAc3T8WN52I=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "453dc9c5037e6d1bec81d2a51ddacd58a2f44e9c", "rev": "b67578f451bd779e79ec42f8153a403421a4b266",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -212,11 +212,11 @@
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_4"
}, },
"locked": { "locked": {
"lastModified": 1792102655, "lastModified": 1792102657,
"narHash": "sha256-o8q1FyTfInU5jv+78iqkNuItaQ9aIyTAbUfv3YbFGms=", "narHash": "sha256-iXWuCKOidcaAEg6sbnJRGrNfEPjNkcDYmoiW+YJZ74g=",
"owner": "liixini", "owner": "liixini",
"repo": "skwd-wall", "repo": "skwd-wall",
"rev": "3bd7d5763a13984cc5a2be0e8a19e9df2805ed88", "rev": "3f80b1922aa6674065970dc6b78fc948960e84d5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -264,11 +264,11 @@
"release": "release" "release": "release"
}, },
"locked": { "locked": {
"lastModified": 1793916584, "lastModified": 1794554060,
"narHash": "sha256-u2IEi1owjJ/zJvNW2WGHNoZGq+XrgFf2GAbNJ5AI6Nw=", "narHash": "sha256-rPFghMPcQlGU33sbd919wn1k5+1lP6Khj4Q2Xeh75Q8=",
"owner": "liixini", "owner": "liixini",
"repo": "skwd-wall", "repo": "skwd-wall",
"rev": "3dfdc7fa88ad3c0ffd735b7f9b9c1bcd2ae80b06", "rev": "04344fc867f52d5a124d6ac8acad5ad984b91700",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -283,11 +283,11 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1793662659, "lastModified": 1794871977,
"narHash": "sha256-a+za5QCDlOe/PsuMlZiBcQ13cyiyOscK17BAJFu1/dE=", "narHash": "sha256-An9Qcr31Z+PmF4TlJWY6RkM4yPbBKc2vkyp6NctvMEk=",
"owner": "Gerg-L", "owner": "Gerg-L",
"repo": "spicetify-nix", "repo": "spicetify-nix",
"rev": "13e6fed4eb99f809d390fb50f591bed6cb716dc0", "rev": "cd7d88aca6db91899373d5574bb252547f4c8c2c",
"type": "github" "type": "github"
}, },
"original": { "original": {
+4 -4
View File
@@ -3,14 +3,14 @@
inputs = { inputs = {
# Nixpkgs # Nixpkgs
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11"; nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
# You can access packages and modules from different nixpkgs revs # You can access packages and modules from different nixpkgs revs
# at the same time. Here's an working example: # at the same time. Here's an working example:
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
# Also see the 'unstable-packages' overlay at 'overlays/default.nix'. # Also see the 'unstable-packages' overlay at 'overlays/default.nix'.
# Home manager # Home manager
home-manager.url = "github:nix-community/home-manager/release-25.11"; home-manager.url = "github:nix-community/home-manager/release-26.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
# Utils # Utils
@@ -67,7 +67,7 @@
modules = [ modules = [
nix-flatpak.nixosModules.nix-flatpak nix-flatpak.nixosModules.nix-flatpak
skwd-wall.nixosModules.default skwd-wall.nixosModules.default
./hosts/WarNyx/configuration.nix ./hosts/Winter/WarNyx/configuration.nix
]; ];
}; };
Reconix = nixpkgs.lib.nixosSystem { Reconix = nixpkgs.lib.nixosSystem {
@@ -75,7 +75,7 @@
modules = [ modules = [
nix-flatpak.nixosModules.nix-flatpak nix-flatpak.nixosModules.nix-flatpak
skwd-wall.nixosModules.default skwd-wall.nixosModules.default
./hosts/Reconix/configuration.nix ./hosts/Winter/Reconix/configuration.nix
]; ];
}; };
}; };
-94
View File
@@ -1,94 +0,0 @@
# This is your home-manager configuration file
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
{
inputs,
lib,
config,
pkgs,
...
}:
let
username = "Ekisha";
in
{
# You can import other home-manager modules here
imports = [
# If you want to use modules your own flake exports (from modules/home-manager):
# inputs.self.homeManagerModules.example
# Or modules exported from other flakes (such as nix-colors):
# inputs.nix-colors.homeManagerModules.default
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
#../common/features/niri/niri.nix
../common/features/spicetify.nix
../common/features/yazi/yazi.nix
../common/features/nvimConf.nix
../common/features/shell.nix
];
nixpkgs = {
# You can add overlays here
overlays = [
# Add overlays your own flake exports (from overlays and pkgs dir):
inputs.self.overlays.additions
inputs.self.overlays.modifications
inputs.self.overlays.unstable-packages
# You can also add overlays exported from other flakes:
# neovim-nightly-overlay.overlays.default
# Or define it inline, for example:
# (final: prev: {
# hi = final.hello.overrideAttrs (oldAttrs: {
# patches = [ ./change-hello-to-hi.patch ];
# });
# })
];
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
};
};
# --- xdg ---
#xdg.mimeApps = {
# enable = true;
# defaultApplications = {
# "inode/directory" = [ "kitty-open.desktop" ];
# "image/jpeg" = [ "org.gnome.gThumb.desktop" ];
# "image/png" = [ "org.gnome.gThumb.desktop" ];
# "image/gif" = [ "org.gnome.gThumb.desktop" ];
# "image/webp" = [ "org.gnome.gThumb.desktop" ];
# "image/tiff" = [ "org.gnome.gThumb.desktop" ];
# "image/bmp" = [ "org.gnome.gThumb.desktop" ];
# };
#};
home.packages = with pkgs; [
# --- General utils ---
libreoffice
libresprite
hunspell
hunspellDicts.en_US
rose-pine-cursor # TODO: ensure change cursor
];
home = {
username = username;
homeDirectory = "/home/${username}";
};
programs.home-manager.enable = true;
# --- General utils ---
programs.quickshell.enable = true;
programs.obsidian = {
enable = true;
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "25.11";
}
@@ -8,7 +8,7 @@
... ...
}: }:
let let
username = ""; username = "dev";
in in
{ {
# You can import other home-manager modules here # You can import other home-manager modules here
+28 -28
View File
@@ -6,10 +6,7 @@
config, config,
pkgs, pkgs,
... ...
}: }:
let
username = "Tester";
in
{ {
# You can import other home-manager modules here # You can import other home-manager modules here
imports = [ imports = [
@@ -22,11 +19,11 @@ in
# You can also split up your configuration and import pieces of it here: # You can also split up your configuration and import pieces of it here:
# ./nvim.nix # ./nvim.nix
../common/features/niri/niri.nix ./common/features/niri/niri.nix
../common/features/spicetify.nix ./common/features/spicetify.nix
../common/features/yazi/yazi.nix ./common/features/yazi/yazi.nix
../common/features/nvimConf.nix ./common/features/nvimConf.nix
../common/features/shell.nix ./common/features/shell.nix
]; ];
nixpkgs = { nixpkgs = {
@@ -54,6 +51,28 @@ in
}; };
}; };
home.packages = (
(with pkgs; [
# --- General utils ---
libreoffice # Microsoft replace
hunspell
hunspellDicts.en_US
matugen
])
++ (with pkgs.unstablePkgs; [
# --- Creative utils ---
obs-studio
shotcut
blockbench
libresprite # Pixel art
])
);
programs.home-manager.enable = true;
# --- General utils ---
programs.quickshell.enable = true;
programs.joplin-desktop.enable = true;
# --- xdg --- # --- xdg ---
xdg.mimeApps = { xdg.mimeApps = {
enable = true; enable = true;
@@ -68,25 +87,6 @@ in
}; };
}; };
home.packages = with pkgs; [
# --- General utils ---
libreoffice
libresprite
hunspell
hunspellDicts.en_US
obs-studio
shotcut
];
home = {
username = username;
homeDirectory = "/home/${username}";
};
programs.home-manager.enable = true;
# --- General utils ---
programs.quickshell.enable = true;
programs.joplin-desktop.enable = true;
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "25.11"; home.stateVersion = "25.11";
+67
View File
@@ -0,0 +1,67 @@
# This is your home-manager configuration file
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
{
inputs,
lib,
config,
pkgs,
...
}:
let
username = "Ekisha";
in
{
# You can import other home-manager modules here
imports = [
# If you want to use modules your own flake exports (from modules/home-manager):
# inputs.self.homeManagerModules.example
# Or modules exported from other flakes (such as nix-colors):
# inputs.nix-colors.homeManagerModules.default
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
../Base.nix
];
nixpkgs = {
# You can add overlays here
overlays = [
# Add overlays your own flake exports (from overlays and pkgs dir):
inputs.self.overlays.additions
inputs.self.overlays.modifications
inputs.self.overlays.unstable-packages
# You can also add overlays exported from other flakes:
# neovim-nightly-overlay.overlays.default
# Or define it inline, for example:
# (final: prev: {
# hi = final.hello.overrideAttrs (oldAttrs: {
# patches = [ ./change-hello-to-hi.patch ];
# });
# })
];
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
};
};
home.packages = (
(with pkgs; [
])
++ (with pkgs.unstablePkgs; [
])
);
home = {
username = username;
homeDirectory = "/home/${username}";
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "25.11";
}
+67
View File
@@ -0,0 +1,67 @@
# This is your home-manager configuration file
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
{
inputs,
lib,
config,
pkgs,
...
}:
let
username = "Tester";
in
{
# You can import other home-manager modules here
imports = [
# If you want to use modules your own flake exports (from modules/home-manager):
# inputs.self.homeManagerModules.example
# Or modules exported from other flakes (such as nix-colors):
# inputs.nix-colors.homeManagerModules.default
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
../Base.nix
];
nixpkgs = {
# You can add overlays here
overlays = [
# Add overlays your own flake exports (from overlays and pkgs dir):
inputs.self.overlays.additions
inputs.self.overlays.modifications
inputs.self.overlays.unstable-packages
# You can also add overlays exported from other flakes:
# neovim-nightly-overlay.overlays.default
# Or define it inline, for example:
# (final: prev: {
# hi = final.hello.overrideAttrs (oldAttrs: {
# patches = [ ./change-hello-to-hi.patch ];
# });
# })
];
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
};
};
home.packages = (
(with pkgs; [
])
++ (with pkgs.unstablePkgs; [
])
);
home = {
username = username;
homeDirectory = "/home/${username}";
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "25.11";
}
-95
View File
@@ -1,95 +0,0 @@
# This is your home-manager configuration file
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
{
inputs,
lib,
config,
pkgs,
...
}:
let
username = "Winter";
in
{
# You can import other home-manager modules here
imports = [
# If you want to use modules your own flake exports (from modules/home-manager):
# inputs.self.homeManagerModules.example
# Or modules exported from other flakes (such as nix-colors):
# inputs.nix-colors.homeManagerModules.default
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
../common/features/niri/niri.nix
../common/features/spicetify.nix
../common/features/yazi/yazi.nix
../common/features/nvimConf.nix
../common/features/shell.nix
];
nixpkgs = {
# You can add overlays here
overlays = [
# Add overlays your own flake exports (from overlays and pkgs dir):
inputs.self.overlays.additions
inputs.self.overlays.modifications
inputs.self.overlays.unstable-packages
# You can also add overlays exported from other flakes:
# neovim-nightly-overlay.overlays.default
# Or define it inline, for example:
# (final: prev: {
# hi = final.hello.overrideAttrs (oldAttrs: {
# patches = [ ./change-hello-to-hi.patch ];
# });
# })
];
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
};
};
# --- xdg ---
xdg.mimeApps = {
enable = true;
defaultApplications = {
"inode/directory" = [ "kitty-open.desktop" ];
"image/jpeg" = [ "org.gnome.gThumb.desktop" ];
"image/png" = [ "org.gnome.gThumb.desktop" ];
"image/gif" = [ "org.gnome.gThumb.desktop" ];
"image/webp" = [ "org.gnome.gThumb.desktop" ];
"image/tiff" = [ "org.gnome.gThumb.desktop" ];
"image/bmp" = [ "org.gnome.gThumb.desktop" ];
};
};
home.packages = with pkgs; [
# --- General utils ---
libreoffice #Microsoft replace
libresprite #Pixel art
hunspell
hunspellDicts.en_US
obs-studio
shotcut
qutebrowser #web browser
blockbench
];
home = {
username = username;
homeDirectory = "/home/${username}";
};
programs.home-manager.enable = true;
# --- General utils ---
programs.quickshell.enable = true;
programs.joplin-desktop.enable = true;
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "25.11";
}
@@ -6,7 +6,7 @@
config, config,
pkgs, pkgs,
... ...
}: }:
let let
username = "Winter"; username = "Winter";
in in
@@ -22,11 +22,7 @@ in
# You can also split up your configuration and import pieces of it here: # You can also split up your configuration and import pieces of it here:
# ./nvim.nix # ./nvim.nix
../common/features/niri/niri.nix ../Base.nix
../common/features/spicetify.nix
../common/features/yazi/yazi.nix
../common/features/nvimConf.nix
../common/features/shell.nix
]; ];
nixpkgs = { nixpkgs = {
@@ -53,34 +49,18 @@ in
allowUnfree = true; allowUnfree = true;
}; };
}; };
# --- xdg ---
xdg.mimeApps = {
enable = true;
defaultApplications = {
"inode/directory" = [ "kitty-open.desktop" ];
};
};
home.packages = with pkgs; [ home.packages = (
# --- General utils --- (with pkgs; [
libreoffice ])
libresprite ++ (with pkgs.unstablePkgs; [
hunspell ])
hunspellDicts.en_US );
rose-pine-cursor # TODO: ensure change cursor
];
home = { home = {
username = username; username = username;
homeDirectory = "/home/${username}"; homeDirectory = "/home/${username}";
}; };
programs.home-manager.enable = true;
# --- General utils ---
programs.quickshell.enable = true;
programs.obsidian = {
enable = true;
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "25.11"; home.stateVersion = "25.11";
+68
View File
@@ -0,0 +1,68 @@
# This is your home-manager configuration file
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
{
inputs,
lib,
config,
pkgs,
...
}:
let
username = "Winter";
in
{
# You can import other home-manager modules here
imports = [
# If you want to use modules your own flake exports (from modules/home-manager):
# inputs.self.homeManagerModules.example
# Or modules exported from other flakes (such as nix-colors):
# inputs.nix-colors.homeManagerModules.default
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
../Base.nix
];
nixpkgs = {
# You can add overlays here
overlays = [
# Add overlays your own flake exports (from overlays and pkgs dir):
inputs.self.overlays.additions
inputs.self.overlays.modifications
inputs.self.overlays.unstable-packages
# You can also add overlays exported from other flakes:
# neovim-nightly-overlay.overlays.default
# Or define it inline, for example:
# (final: prev: {
# hi = final.hello.overrideAttrs (oldAttrs: {
# patches = [ ./change-hello-to-hi.patch ];
# });
# })
];
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
};
};
home.packages = (
(with pkgs; [
jdk21
])
++ (with pkgs.unstablePkgs; [
])
);
home = {
username = username;
homeDirectory = "/home/${username}";
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "25.11";
}
+67
View File
@@ -0,0 +1,67 @@
# This is your home-manager configuration file
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
{
inputs,
lib,
config,
pkgs,
...
}:
let
username = "Winter"; #FIXME
in
{
# You can import other home-manager modules here
imports = [
# If you want to use modules your own flake exports (from modules/home-manager):
# inputs.self.homeManagerModules.example
# Or modules exported from other flakes (such as nix-colors):
# inputs.nix-colors.homeManagerModules.default
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
../Base.nix
];
nixpkgs = {
# You can add overlays here
overlays = [
# Add overlays your own flake exports (from overlays and pkgs dir):
inputs.self.overlays.additions
inputs.self.overlays.modifications
inputs.self.overlays.unstable-packages
# You can also add overlays exported from other flakes:
# neovim-nightly-overlay.overlays.default
# Or define it inline, for example:
# (final: prev: {
# hi = final.hello.overrideAttrs (oldAttrs: {
# patches = [ ./change-hello-to-hi.patch ];
# });
# })
];
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
};
};
home.packages = (
(with pkgs; [
])
++ (with pkgs.unstablePkgs; [
])
);
home = {
username = username;
homeDirectory = "/home/${username}";
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "25.11";
}
@@ -0,0 +1,10 @@
layout {
focus-ring {
active-color "#ff0000"
inactive-color "#00ff00"
}
border {
active-color "#ffb3ac"
inactive-color "#a68a87"
}
}
@@ -276,6 +276,14 @@ layout {
} }
} }
//global blur fine-tuning
blur {
passes 3 // more passes = stronger blur (default: 3)
offset 3.0 // sample distance per pass (default: 3.0)
noise 0.02 // grain overlay (default: 0.02)
saturation 1.5 // color saturation boost (default: 1.5)
}
// Add lines like this to spawn processes at startup. // Add lines like this to spawn processes at startup.
// Note that running niri as a session supports xdg-desktop-autostart, // Note that running niri as a session supports xdg-desktop-autostart,
// which may be more convenient to use. // which may be more convenient to use.
@@ -402,6 +410,8 @@ binds {
Mod+T hotkey-overlay-title="Open a Terminal: kitty" { spawn "kitty"; } Mod+T hotkey-overlay-title="Open a Terminal: kitty" { spawn "kitty"; }
Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
Super+Alt+Ctrl+L hotkey-overlay-title="Lock N turn off screen" { spawn "lockNTurnOffScreen"; }
//Skwd-wall -- doesnt work, works with fuzzel //Skwd-wall -- doesnt work, works with fuzzel
Mod+W hotkey-overlay-title="Skwd-wall" { spawn "skwd-wall-v2"; } Mod+W hotkey-overlay-title="Skwd-wall" { spawn "skwd-wall-v2"; }
//clipse //clipse
+42
View File
@@ -0,0 +1,42 @@
{ config, pkgs, ... }:
let
lockNTurnOffScript = pkgs.writeShellApplication {
name = "lockNTurnOffScreen";
runtimeInputs = with pkgs; [
wireplumber # provides wpctl
swaylock
niri
];
text = ''
# Check if already muted so we don't accidentally unmute a manually muted system
WAS_MUTED=false
if wpctl get-volume @DEFAULT_AUDIO_SINK@ | grep -q '\[MUTED\]'; then
WAS_MUTED=true
fi
# Mute audio and power off monitors
wpctl set-mute @DEFAULT_AUDIO_SINK@ 1
niri msg action power-off-monitors
# Run swaylock in the foreground (blocks until unlocked)
swaylock
# Restore mute state upon unlock
if [ "$WAS_MUTED" = false ]; then
wpctl set-mute @DEFAULT_AUDIO_SINK@ 0
fi
'';
};
in
{
xdg.configFile."niri/config.kdl".source = ./config.kdl;
# --- Niri-Extras ---
programs.fuzzel.enable = true;
xdg.mime.enable = true;
services.playerctld.enable = true;
home.packages = with pkgs; [
#mako
lockNTurnOffScript
];
}
@@ -36,7 +36,7 @@
autoCmd = [ autoCmd = [
{ {
event = [ "FileType" ]; event = [ "FileType" ];
pattern = [ "html" "css" "javascript" "typescript" "nix" ]; pattern = [ "html" "css" "javascript" "typescript" "nix" "lua" ];
callback = { callback = {
__raw = '' __raw = ''
function() function()
@@ -47,6 +47,33 @@
''; '';
}; };
} }
{
event = [ "FileType" ];
pattern = [ "cpp" "c" ];
callback = {
__raw = ''
function()
vim.opt_local.expandtab = false
vim.opt_local.shiftwidth = 4
vim.opt_local.tabstop = 4
end
'';
};
}
{
event = [ "FileType" ];
pattern = [ "rust" ];
callback = {
__raw = ''
function()
vim.opt_local.expandtab = true
vim.opt_local.shiftwidth = 4
vim.opt_local.softtabstop = 4
vim.opt_local.tabstop = 4
end
'';
};
}
]; ];
plugins.cmp = { plugins.cmp = {
@@ -7,12 +7,17 @@
pkgs, pkgs,
... ...
}: { }: {
home.packages = with pkgs; [ home.packages = (
# --- CLI utils --- (with pkgs; [
wl-clipboard # --- Core Wayland plumbing (Stable 26.05) ---
clipse wl-clipboard
timg ])
]; ++ (with pkgs.unstablePkgs; [
# --- Fast-moving CLI utils (Unstable) ---
clipse
timg
])
);
# --- Shell environment --- # --- Shell environment ---
programs.direnv.enable = true; programs.direnv.enable = true;
home.shellAliases = { home.shellAliases = {
@@ -47,8 +52,10 @@
programs.kitty = { programs.kitty = {
enable = true; enable = true;
#extraConfig = "include *.conf";
settings = { settings = {
"font_size" = 15;
"background_opacity" = 0.6;
"background_blur" = 1;
"include" = "colors.conf"; "include" = "colors.conf";
}; };
}; };
File renamed without changes.
@@ -1,5 +1,6 @@
{ {
programs.yazi = { programs.yazi = {
shellWrapperName = "y";
enable = true; enable = true;
flavors = { flavors = {
@@ -13,10 +13,16 @@ in
{ {
# You can import other home-manager modules here # You can import other home-manager modules here
imports = [ imports = [
../common/features/niri/niri.nix # If you want to use modules your own flake exports (from modules/home-manager):
../common/features/yazi/yazi.nix # inputs.self.homeManagerModules.example
../common/features/nvimConf.nix
../common/features/shell.nix # Or modules exported from other flakes (such as nix-colors):
# inputs.nix-colors.homeManagerModules.default
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
../Base.nix
]; ];
nixpkgs = { nixpkgs = {
@@ -44,14 +50,18 @@ in
}; };
}; };
home.packages = with pkgs; [ home.packages = (
]; (with pkgs; [
jdk21
])
++ (with pkgs.unstablePkgs; [
])
);
home = { home = {
username = username; username = username;
homeDirectory = "/home/${username}"; homeDirectory = "/home/${username}";
}; };
programs.home-manager.enable = true;
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "25.11"; home.stateVersion = "25.11";
-12
View File
@@ -1,12 +0,0 @@
{ config, pkgs, ... }:
{
xdg.configFile."niri/config.kdl".source = ./config.kdl;
# --- Niri-Extras ---
programs.fuzzel.enable = true;
xdg.mime.enable = true;
services.playerctld.enable = true;
# home.packages = with pkgs; [
# mako
# ];
}
-9
View File
@@ -1,9 +0,0 @@
{
inputs,
config,
...
}: {
programs.qutebrowser = {
enable = true;
};
}
@@ -61,7 +61,7 @@ in
extraSpecialArgs = { inherit inputs; }; extraSpecialArgs = { inherit inputs; };
backupFileExtension = "backup"; backupFileExtension = "backup";
users = { users = {
EXAMPLE = import ../../home/EXAMPLE/${hostname}.nix; # FIXME EXAMPLE = import ../../../home/Ricky/EXAMPLE/${hostname}.nix; # FIXME
}; };
}; };
@@ -82,5 +82,5 @@ in
}; };
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "25.11"; #system.stateVersion = "25.11"; #FIXME, should be fine to change on a fresh install
} }
+39
View File
@@ -0,0 +1,39 @@
{
pkgs,
config,
lib,
...
}: let
username = "dev";
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
in {
users.users.${username} = {
isNormalUser = true;
extraGroups = ifTheyExist [
"audio"
"deluge"
"docker"
"git"
"i2c"
"libvirtd"
"minecraft"
"mysql"
"wpa_supplicant"
"plugdev"
"podman"
"tss"
"video"
"wheel"
"wireshark"
];
};
# TODO: ensure correct paths
home-manager.users.${username} = import ../../../../../home/Ricky/${username}/${config.networking.hostName}.nix;
security.pam.services = {
swaylock = {};
${username}.enableGnomeKeyring = true;
};
}
@@ -27,10 +27,11 @@ in {
"wireshark" "wireshark"
]; ];
#packages = [pkgs.home-manager];
}; };
# TODO: ensure correct paths
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix; home-manager.users.${username} = import ../../../../home/Ricky/${username}/${config.networking.hostName}.nix;
security.pam.services = { security.pam.services = {
swaylock = {}; swaylock = {};
+87
View File
@@ -0,0 +1,87 @@
# This is your system's configuration file.
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
{
inputs,
lib,
config,
pkgs,
...
}:
let
hostname = "nixos";
in
{
# You can import other NixOS modules here
imports = [
# If you want to use modules your own flake exports (from modules/nixos):
# inputs.self.nixosModules.example
# Or modules from other flakes (such as nixos-hardware):
# inputs.hardware.nixosModules.common-cpu-amd
# inputs.hardware.nixosModules.common-ssd
./hardware-configuration.nix
#../common/users/Winter/default.nix
../common/users/dev/default.nix
#../common/global/default.nix
../common/features/DesktopNiri.nix
#../common/features/Applications.nix
#../common/features/servers/minecraft.nix
inputs.home-manager.nixosModules.home-manager
];
nixpkgs = {
# You can add overlays here
overlays = [
# Add overlays your own flake exports (from overlays and pkgs dir):
inputs.self.overlays.additions
inputs.self.overlays.modifications
inputs.self.overlays.unstable-packages
# You can also add overlays exported from other flakes:
# neovim-nightly-overlay.overlays.default
# Or define it inline, for example:
# (final: prev: {
# hi = final.hello.overrideAttrs (oldAttrs: {
# patches = [ ./change-hello-to-hi.patch ];
# });
# })
];
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
};
};
# build home-manager with nixos-rebuild and not home-manager command
home-manager = {
extraSpecialArgs = { inherit inputs; };
backupFileExtension = "backup";
users = {
dev = import ../../../home/Ricky/dev/${hostname}.nix; # FIXME
};
};
environment.systemPackages = with pkgs; [
];
networking.hostName = hostname;
# This setups a SSH server. Very important if you're setting up a headless system.
# Feel free to remove if you don't need it.
#Unused, keeping for later reference
services.openssh = {
enable = false;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "25.11";
}
@@ -0,0 +1,31 @@
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/37e1fcd1-4321-4010-81f7-a3c1443d2a2d";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/AF44-E292";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
@@ -62,7 +62,7 @@ in
extraSpecialArgs = { inherit inputs; }; extraSpecialArgs = { inherit inputs; };
backupFileExtension = "backup"; backupFileExtension = "backup";
users = { users = {
Winter = import ../../home/Winter/${hostname}.nix; # FIXME Winter = import ../../home/Winter/Winter/${hostname}.nix;
}; };
}; };
@@ -31,9 +31,8 @@ in
../common/users/Ekisha/default.nix ../common/users/Ekisha/default.nix
../common/users/Tester/default.nix ../common/users/Tester/default.nix
../common/features/DesktopNiri.nix ../common/features/DesktopNiri.nix
../common/features/DesktopKDEPlasma.nix
../common/features/Applications.nix ../common/features/Applications.nix
../common/features/servers/minecraft.nix ../common/servers/minecraft.nix
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
]; ];
@@ -67,12 +66,6 @@ in
home-manager = { home-manager = {
extraSpecialArgs = { inherit inputs; }; extraSpecialArgs = { inherit inputs; };
backupFileExtension = "backup"; backupFileExtension = "backup";
users = {
Winter = import ../../home/Winter/${hostname}.nix;
minecraft = import ../../home/Winter/minecraft.nix;
Ekisha = import ../../home/Ekisha/${hostname}.nix;
Tester = import ../../home/Tester/${hostname}.nix;
};
}; };
networking.extraHosts = " networking.extraHosts = "
+86
View File
@@ -0,0 +1,86 @@
# This is your system's configuration file.
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
{
inputs,
lib,
config,
pkgs,
...
}:
let
hostname = ""; #FIXME, also ensure /home/username/hostname.nix
in
{
# You can import other NixOS modules here
imports = [
# If you want to use modules your own flake exports (from modules/nixos):
# inputs.self.nixosModules.example
# Or modules from other flakes (such as nixos-hardware):
# inputs.hardware.nixosModules.common-cpu-amd
# inputs.hardware.nixosModules.common-ssd
./hardware-configuration.nix
../common/users/Winter/default.nix
#../common/global/default.nix
#../common/features/Desktop.nix
#../common/features/Applications.nix
#../common/features/servers/minecraft.nix
inputs.home-manager.nixosModules.home-manager
];
nixpkgs = {
# You can add overlays here
overlays = [
# Add overlays your own flake exports (from overlays and pkgs dir):
inputs.self.overlays.additions
inputs.self.overlays.modifications
inputs.self.overlays.unstable-packages
# You can also add overlays exported from other flakes:
# neovim-nightly-overlay.overlays.default
# Or define it inline, for example:
# (final: prev: {
# hi = final.hello.overrideAttrs (oldAttrs: {
# patches = [ ./change-hello-to-hi.patch ];
# });
# })
];
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
};
};
# build home-manager with nixos-rebuild and not home-manager command
home-manager = {
extraSpecialArgs = { inherit inputs; };
backupFileExtension = "backup";
users = {
EXAMPLE = import ../../../home/EXAMPLE/EXAMPLE/${hostname}.nix; # FIXME
};
};
environment.systemPackages = with pkgs; [
];
networking.hostName = hostname;
# This setups a SSH server. Very important if you're setting up a headless system.
# Feel free to remove if you don't need it.
#Unused, keeping for later reference
services.openssh = {
enable = false;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
#system.stateVersion = "25.11"; #FIXME, should be fine to change on a fresh install
}
@@ -17,15 +17,23 @@
services.blueman.enable = true; #bluetooth services.blueman.enable = true; #bluetooth
environment.systemPackages = with pkgs; [ environment.systemPackages = (
# -- Niri extras -- (with pkgs; [
xwayland-satellite # -- Stable system utilities --
fuzzel brightnessctl
waybar playerctl
brightnessctl swaylock
playerctl ])
swaylock ++ (with pkgs.unstablePkgs; [
inputs.awww.packages.${pkgs.stdenv.hostPlatform.system}.awww # -- Fast-moving Wayland tools --
inputs.skwd-wall.packages.${pkgs.stdenv.hostPlatform.system}.default xwayland-satellite
]; fuzzel
waybar
])
++ [
# -- External flake inputs --
inputs.awww.packages.${pkgs.stdenv.hostPlatform.system}.awww
inputs.skwd-wall.packages.${pkgs.stdenv.hostPlatform.system}.default
]
);
} }
@@ -7,6 +7,11 @@
pkgs, pkgs,
... ...
}: }:
let
repoDomain = "thearcticcircle.ddns.net";
repoPath = "git/WinterEkisha/nix-config";
repoBranch = "main";
in
{ {
nix = { nix = {
settings = { settings = {
@@ -24,12 +29,12 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
systemd.sleep.extraConfig = '' systemd.sleep.settings.Sleep = {
AllowSuspend=no AllowSuspend = "no";
AllowHibernation=no AllowHibernation = "no";
AllowHybridSleep=no AllowHybridSleep = "no";
AllowSuspendThenHibernate=no AllowSuspendThenHibernate = "no";
''; };
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"d /home/shared 0777 root root -" "d /home/shared 0777 root root -"
@@ -38,7 +43,7 @@
networking.firewall.enable = true; networking.firewall.enable = true;
time.timeZone = "America/Los_Angeles"; time.timeZone = "America/Los_Angeles";
# --- File Manager --- # --- File Manager ---
xdg.mime.enable = true; xdg.mime.enable = true;
services.tumbler.enable = true; services.tumbler.enable = true;
@@ -7,22 +7,12 @@
pkgs, pkgs,
... ...
}: { }: {
imports = [
./users/minecraft.nix
];
networking.firewall = { networking.firewall = {
enable = true; enable = true;
allowedTCPPorts = [ 25565 25567 ]; allowedTCPPorts = [ 25565 25567 ];
allowedUDPPorts = [ 25565 25567]; allowedUDPPorts = [ 25565 25567];
}; };
environment.systemPackages = with pkgs; [
pkgs.jdk21
];
users.users = {
minecraft = {
isNormalUser = true;
shell = pkgs.bashInteractive;
openssh.authorizedKeys.keys = [
];
};
};
} }
@@ -0,0 +1,26 @@
{
pkgs,
config,
lib,
...
}: let
username = "minecraft"; #FIXME
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
in {
users.users.${username} = {
isNormalUser = true;
extraGroups = ifTheyExist [
"minecraft"
];
#packages = [pkgs.home-manager];
};
home-manager.users.${username} = import ../../../../../home/Winter/servers/${username}.nix;
security.pam.services = {
swaylock = {};
${username}.enableGnomeKeyring = true;
};
}
@@ -16,11 +16,14 @@ in {
"video" "video"
]; ];
#packages = [pkgs.home-manager];
}; };
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix;
home-manager.users.${username} = import ../../../../../home/Winter/${username}/${config.networking.hostName}.nix;
security.pam.services = { security.pam.services = {
swaylock = {}; swaylock = {};
${username}.enableGnomeKeyring = true;
}; };
} }
@@ -12,12 +12,14 @@ in {
extraGroups = ifTheyExist [ extraGroups = ifTheyExist [
]; ];
#packages = [pkgs.home-manager];
}; };
# TODO: ensure correct paths
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix; home-manager.users.${username} = import ../../../../../home/Winter/${username}/${config.networking.hostName}.nix;
security.pam.services = { security.pam.services = {
swaylock = {}; swaylock = {};
${username}.enableGnomeKeyring = true;
}; };
} }
@@ -26,9 +26,12 @@ in {
"wheel" "wheel"
"wireshark" "wireshark"
]; ];
#packages = [pkgs.home-manager];
}; };
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix;
home-manager.users.${username} = import ../../../../../home/Winter/${username}/${config.networking.hostName}.nix;
security.pam.services = { security.pam.services = {
swaylock = {}; swaylock = {};
+40
View File
@@ -0,0 +1,40 @@
{
pkgs,
config,
lib,
...
}: let
username = ""; #FIXME
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
in {
users.users.${username} = {
isNormalUser = true;
extraGroups = ifTheyExist [
"audio"
"deluge"
"docker"
"git"
"i2c"
"libvirtd"
"minecraft"
"mysql"
"wpa_supplicant"
"plugdev"
"podman"
"tss"
"video"
"wheel"
"wireshark"
];
#packages = [pkgs.home-manager];
};
home-manager.users.${username} = import ../../../../../home/Winter/${username}/${config.networking.hostName}.nix;
security.pam.services = {
swaylock = {};
${username}.enableGnomeKeyring = true; #FIXME
};
}