Compare commits

10 Commits

38 changed files with 1158 additions and 914 deletions

140
flake.lock generated
View File

@ -44,17 +44,17 @@
"base16-fish": { "base16-fish": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1754405784, "lastModified": 1765809053,
"narHash": "sha256-l9xHIy+85FN+bEo6yquq2IjD1rSg9fjfjpyGP1W8YXo=", "narHash": "sha256-XCUQLoLfBJ8saWms2HCIj4NEN+xNsWBlU1NrEPcQG4s=",
"owner": "tomyun", "owner": "tomyun",
"repo": "base16-fish", "repo": "base16-fish",
"rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561", "rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "tomyun", "owner": "tomyun",
"repo": "base16-fish", "repo": "base16-fish",
"rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561", "rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
"type": "github" "type": "github"
} }
}, },
@ -116,11 +116,11 @@
"firefox-gnome-theme": { "firefox-gnome-theme": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1764724327, "lastModified": 1764873433,
"narHash": "sha256-OkFLrD3pFR952TrjQi1+Vdj604KLcMnkpa7lkW7XskI=", "narHash": "sha256-1XPewtGMi+9wN9Ispoluxunw/RwozuTRVuuQOmxzt+A=",
"owner": "rafaelmardojai", "owner": "rafaelmardojai",
"repo": "firefox-gnome-theme", "repo": "firefox-gnome-theme",
"rev": "66b7c635763d8e6eb86bd766de5a1e1fbfcc1047", "rev": "f7ffd917ac0d253dbd6a3bf3da06888f57c69f92",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -158,11 +158,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1763759067, "lastModified": 1767609335,
"narHash": "sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q=", "narHash": "sha256-feveD98mQpptwrAEggBQKJTYbvwwglSbOv53uCfH9PY=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "2cccadc7357c0ba201788ae99c4dfa90728ef5e0", "rev": "250481aafeb741edfe23d29195671c19b36b6dca",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -207,11 +207,11 @@
"flake": false, "flake": false,
"locked": { "locked": {
"host": "gitlab.gnome.org", "host": "gitlab.gnome.org",
"lastModified": 1764524476, "lastModified": 1767737596,
"narHash": "sha256-bTmNn3Q4tMQ0J/P0O5BfTQwqEnCiQIzOGef9/aqAZvk=", "narHash": "sha256-eFujfIUQDgWnSJBablOuG+32hCai192yRdrNHTv0a+s=",
"owner": "GNOME", "owner": "GNOME",
"repo": "gnome-shell", "repo": "gnome-shell",
"rev": "c0e1ad9f0f703fd0519033b8f46c3267aab51a22", "rev": "ef02db02bf0ff342734d525b5767814770d85b49",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -247,11 +247,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1765217760, "lastModified": 1773286336,
"narHash": "sha256-BVVyAodLcAD8KOtR3yCStBHSE0WAH/xQWH9f0qsxbmk=", "narHash": "sha256-+yFtmhOHterllxWmV6YbdevTXpJdGS0mS0UmJ0k9fh0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "e5b1f87841810fc24772bf4389f9793702000c9b", "rev": "7d06e0cefe6e4a1e85b2b3274dcb0b3da242a557",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -269,11 +269,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1762964643, "lastModified": 1772330611,
"narHash": "sha256-RYHN8O/Aja59XDji6WSJZPkJpYVUfpSkyH+PEupBJqM=", "narHash": "sha256-UZjPc/d5XRxvjDbk4veAO4XFdvx6BUum2l40V688Xq8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "827f2a23373a774a8805f84ca5344654c31f354b", "rev": "58fd7ff0eec2cda43e705c4c0585729ec471d400",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -294,11 +294,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1765258158, "lastModified": 1773303738,
"narHash": "sha256-d35lpzPLgL8gVruRAFt/KPwXQh7a19wR1AzQJHjyyuo=", "narHash": "sha256-qrl74wNFMTUzA8z6nSEWNjQcJI/MQEWdWu2Wn+u4Ctg=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "7546342de11138550fcadf104b5257f6534886e2", "rev": "329df7671b7859abd1cbca5d5af296ed6dc22b46",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -327,11 +327,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1765256153, "lastModified": 1773130184,
"narHash": "sha256-tHey91LxQM6pgnTfguw0jqN45xj8X/0Vu71RPGkGSKg=", "narHash": "sha256-3bwx4WqCB06yfQIGB+OgIckOkEDyKxiTD5pOo4Xz2rI=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "83a733e08512d9a6ff5332ef53acc0e8e635c2ea", "rev": "b07bde3ee82dd73115e6b949e4f3f63695da35ea",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -342,11 +342,11 @@
}, },
"nix-flatpak": { "nix-flatpak": {
"locked": { "locked": {
"lastModified": 1754777568, "lastModified": 1768656715,
"narHash": "sha256-0bBqT+3XncgF8F03RFAamw9vdf0VmaDoIJLTGkjfQZs=", "narHash": "sha256-Sbh037scxKFm7xL0ahgSCw+X2/5ZKeOwI2clqrYr9j4=",
"owner": "gmodena", "owner": "gmodena",
"repo": "nix-flatpak", "repo": "nix-flatpak",
"rev": "62f636b87ef6050760a8cb325cadb90674d1e23e", "rev": "123fe29340a5b8671367055b75a6e7c320d6f89a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -357,11 +357,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1764440730, "lastModified": 1772972630,
"narHash": "sha256-ZlJTNLUKQRANlLDomuRWLBCH5792x+6XUJ4YdFRjtO4=", "narHash": "sha256-mUJxsNOrBMNOUJzN0pfdVJ1r2pxeqm9gI/yIKXzVVbk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "9154f4569b6cdfd3c595851a6ba51bfaa472d9f3", "rev": "3966ce987e1a9a164205ac8259a5fe8a64528f72",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -372,11 +372,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1765271087, "lastModified": 1773304180,
"narHash": "sha256-u38f0e122QdMNWcgUVEzjDklxOauP/k0bEYNMg+Eeac=", "narHash": "sha256-e/ctVWU2EYXBOsJHU76lN6vqugD8u1Xl20MJ+A+bPuE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "adf3274db725a05e8c2722e1ca62c781cea33cd0", "rev": "d5eb8dca28f5be580c26f8fcb2ec4ec4215e9102",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -388,11 +388,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1764983851, "lastModified": 1773068389,
"narHash": "sha256-y7RPKl/jJ/KAP/VKLMghMgXTlvNIJMHKskl8/Uuar7o=", "narHash": "sha256-vMrm7Pk2hjBRPnCSjhq1pH0bg350Z+pXhqZ9ICiqqCs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d9bc5c7dceb30d8d6fafa10aeb6aa8a48c218454", "rev": "44bae273f9f82d480273bab26f5c50de3724f52f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -404,11 +404,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1764950072, "lastModified": 1773122722,
"narHash": "sha256-BmPWzogsG2GsXZtlT+MTcAWeDK5hkbGRZTeZNW42fwA=", "narHash": "sha256-FIqHByVqxCprNjor1NqF80F2QQoiiyqanNNefdlvOg4=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f61125a668a320878494449750330ca58b78c557", "rev": "62dc67aa6a52b4364dd75994ec00b51fbf474e50",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -427,11 +427,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1771135771, "lastModified": 1772402258,
"narHash": "sha256-wyvBIhDuyCRyjB3yPg77qoyxrlgQtBR1rVW3c9knV3E=", "narHash": "sha256-3DmCFOdmbkFML1/G9gj8Wb+rCCZFPOQtNoMCpqOF8SA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "ed0424f0b08d303a7348f52f7850ad1b2704f9ba", "rev": "21ae25e13b01d3b4cdc750b5f9e7bad68b150c10",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -452,11 +452,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1764773531, "lastModified": 1767810917,
"narHash": "sha256-mCBl7MD1WZ7yCG6bR9MmpPO2VydpNkWFgnslJRIT1YU=", "narHash": "sha256-ZKqhk772+v/bujjhla9VABwcvz+hB2IaRyeLT6CFnT0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "1d9616689e98beded059ad0384b9951e967a17fa", "rev": "dead29c804adc928d3a69dfe7f9f12d0eec1f1a4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -475,11 +475,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1763909441, "lastModified": 1772361940,
"narHash": "sha256-56LwV51TX/FhgX+5LCG6akQ5KrOWuKgcJa+eUsRMxsc=", "narHash": "sha256-B1Cz+ydL1iaOnGlwOFld/C8lBECPtzhiy/pP93/CuyY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "plasma-manager", "repo": "plasma-manager",
"rev": "b24ed4b272256dfc1cc2291f89a9821d5f9e14b4", "rev": "a4b33606111c9c5dcd10009042bb710307174f51",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -495,11 +495,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1764663772, "lastModified": 1773291133,
"narHash": "sha256-sHqLmm0wAt3PC4vczJeBozI1/f4rv9yp3IjkClHDXDs=", "narHash": "sha256-9Odn+7x5l90HnXRY7MwVYcX+8CYAo+ldJ+GOVs7e2T8=",
"owner": "outfoxxed", "owner": "outfoxxed",
"repo": "quickshell", "repo": "quickshell",
"rev": "26531fc46ef17e9365b03770edd3fb9206fcb460", "rev": "9a9c60525014bcdf83aace03db4b53c19168edcc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -562,11 +562,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1765047449, "lastModified": 1772296853,
"narHash": "sha256-VQcqjJ2g0kT9TW4ENwA2HBQJzfbCUd5s1Wm3K+R2QZY=", "narHash": "sha256-pAtzPsgHRKw/2Kv8HgAjSJg450FDldHPWsP3AKG/Xj0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "stylix", "repo": "stylix",
"rev": "bd00e01aab676aee88e6cc5c9238b4a5a7d6639a", "rev": "c4b8e80a1020e09a1f081ad0f98ce804a6e85acf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -642,11 +642,11 @@
"tinted-schemes": { "tinted-schemes": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1763914658, "lastModified": 1767710407,
"narHash": "sha256-Hju0WtMf3iForxtOwXqGp3Ynipo0EYx1AqMKLPp9BJw=", "narHash": "sha256-+W1EB79Jl0/gm4JqmO0Nuc5C7hRdp4vfsV/VdzI+des=",
"owner": "tinted-theming", "owner": "tinted-theming",
"repo": "schemes", "repo": "schemes",
"rev": "0f6be815d258e435c9b137befe5ef4ff24bea32c", "rev": "2800e2b8ac90f678d7e4acebe4fa253f602e05b2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -658,11 +658,11 @@
"tinted-tmux": { "tinted-tmux": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1764465359, "lastModified": 1767489635,
"narHash": "sha256-lbSVPqLEk2SqMrnpvWuKYGCaAlfWFMA6MVmcOFJjdjE=", "narHash": "sha256-e6nnFnWXKBCJjCv4QG4bbcouJ6y3yeT70V9MofL32lU=",
"owner": "tinted-theming", "owner": "tinted-theming",
"repo": "tinted-tmux", "repo": "tinted-tmux",
"rev": "edf89a780e239263cc691a987721f786ddc4f6aa", "rev": "3c32729ccae99be44fe8a125d20be06f8d7d8184",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -674,11 +674,11 @@
"tinted-zed": { "tinted-zed": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1764464512, "lastModified": 1767488740,
"narHash": "sha256-rCD/pAhkMdCx6blsFwxIyvBJbPZZ1oL2sVFrH07lmqg=", "narHash": "sha256-wVOj0qyil8m+ouSsVZcNjl5ZR+1GdOOAooAatQXHbuU=",
"owner": "tinted-theming", "owner": "tinted-theming",
"repo": "base16-zed", "repo": "base16-zed",
"rev": "907dbba5fb8cf69ebfd90b00813418a412d0a29a", "rev": "11abb0b282ad3786a2aae088d3a01c60916f2e40",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -707,11 +707,11 @@
"xwayland-satellite-unstable": { "xwayland-satellite-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1765201946, "lastModified": 1772429643,
"narHash": "sha256-7zkEUqmeWToaTGp29YI7HUN7qiSCauNB2ep0TpB1Jwk=", "narHash": "sha256-M+bAeCCcjBnVk6w/4dIVvXvpJwOKnXjwi/lDbaN6Yws=",
"owner": "Supreeeme", "owner": "Supreeeme",
"repo": "xwayland-satellite", "repo": "xwayland-satellite",
"rev": "2f9981ad0890739980d09cd2a18293a1d47d0f01", "rev": "10f985b84cdbcc3bbf35b3e7e43d1b2a84fa9ce2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -728,11 +728,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1765175766, "lastModified": 1773290887,
"narHash": "sha256-M4zs4bVUv0UNuVGspwwlcGs5FpCDt52LQBA5a9nj5Lg=", "narHash": "sha256-L1yMYmFffHfZNP+hKJGRBmrFKkn/VDhu7jEbVftBQuM=",
"owner": "0xc000022070", "owner": "0xc000022070",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "5126a8426773dc213a8c0f0d646aca116194dab6", "rev": "9346698c4562819f61b4e5097151ec0b17729fab",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -47,8 +47,19 @@
grub2-themes.url = "github:vinceliuice/grub2-themes"; grub2-themes.url = "github:vinceliuice/grub2-themes";
}; };
outputs = inputs@{ nixpkgs, alejandra, home-manager, plasma-manager, nixos-hardware, stylix, niri, zen-browser, grub2-themes, nix-flatpak, ... }: outputs = inputs @ {
let nixpkgs,
alejandra,
home-manager,
plasma-manager,
nixos-hardware,
stylix,
niri,
zen-browser,
grub2-themes,
nix-flatpak,
...
}: let
username = "cookiez"; username = "cookiez";
hostname = "nixos"; hostname = "nixos";
project = "NixOS"; project = "NixOS";
@ -57,8 +68,7 @@
pkgs = import nixpkgs {inherit system;}; pkgs = import nixpkgs {inherit system;};
framework13 = true; framework13 = true;
in in {
{
formatter.${system} = nixpkgs.legacyPackages.${system}.alejandra; formatter.${system} = nixpkgs.legacyPackages.${system}.alejandra;
nixosConfigurations = { nixosConfigurations = {
@ -73,10 +83,17 @@
inherit alejandra; inherit alejandra;
host = hostname; host = hostname;
}; };
modules = [ modules =
[
./modules ./modules
#Conditional Modules! #Conditional Modules!
] ++ (if framework13 then [ nixos-hardware.nixosModules.framework-13-7040-amd ] else [ ]) ++ [ ]
++ (
if framework13
then [nixos-hardware.nixosModules.framework-13-7040-amd]
else []
)
++ [
]; ];
}; };
}; };

View File

@ -1,5 +1,9 @@
{ config, lib, pkgs, ... }:
{ {
config,
lib,
pkgs,
...
}: {
boot = { boot = {
# silence first boot output # silence first boot output
consoleLogLevel = 3; consoleLogLevel = 3;

View File

@ -3,17 +3,25 @@
#nmcli device wifi connect <ssid> password <password> #nmcli device wifi connect <ssid> password <password>
# or if no password (open wifi) # or if no password (open wifi)
#nmcli device wifi connect <ssid> #nmcli device wifi connect <ssid>
{ inputs, config, pkgs, lib, username, project, host, version, system, ... }:
{ {
inputs,
config,
pkgs,
lib,
username,
project,
host,
version,
system,
...
}: {
#Assign Swap to the PC #Assign Swap to the PC
#swapDevices = [{ #swapDevices = [{
# device = "/swapfile"; # device = "/swapfile";
# size = 16 * 1024; # 16GB # size = 16 * 1024; # 16GB
#}]; #}];
imports = imports = [
[
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
inputs.grub2-themes.nixosModules.default inputs.grub2-themes.nixosModules.default
inputs.nix-flatpak.nixosModules.nix-flatpak inputs.nix-flatpak.nixosModules.nix-flatpak
@ -63,7 +71,6 @@
#Manage flags -> Add bios_grub #Manage flags -> Add bios_grub
networking = { networking = {
# Enable networking # Enable networking
networkmanager.enable = true; networkmanager.enable = true;
@ -183,6 +190,11 @@
openssh.enable = true; openssh.enable = true;
}; };
systemd.services.fprintd = {
wantedBy = ["multi-user.target"];
serviceConfig.Type = "simple";
};
fonts = { fonts = {
packages = with pkgs; [ packages = with pkgs; [
font-awesome font-awesome
@ -301,8 +313,12 @@
sudo.wheelNeedsPassword = false; sudo.wheelNeedsPassword = false;
pam.services = { pam.services = {
login.fprintAuth = true; sddm.fprintAuth = false; #Because of the bug with 30 seconds on sddm login
sudo.fprintAuth = true; sddm-autologin.fprintAuth = false; #Same as above
login.fprintAuth = false;
sudo.fprintAuth = false; #Disabled because of security risk: https://nvd.nist.gov/vuln/detail/cve-2024-37408
kscreenlocker.fprintAuth = true;
polkit-1.fprintAuth = false; #Disabled because of security risk: https://nvd.nist.gov/vuln/detail/cve-2024-37408
kde.fprintAuth = false; kde.fprintAuth = false;
hyprlock = {}; hyprlock = {};
}; };

View File

@ -1,5 +1,4 @@
{ config, ... }: {config, ...}: {
{
imports = [ imports = [
./configuration.nix ./configuration.nix
@ -43,6 +42,5 @@
environment.etc."nixos-tags".text = "niri"; environment.etc."nixos-tags".text = "niri";
}; };
}; };
}; };
} }

View File

@ -1,5 +1,9 @@
{ pkgs, username, project, ...}:
{ {
pkgs,
username,
project,
...
}: {
xdg = { xdg = {
desktopEntries.youtube = { desktopEntries.youtube = {
name = "YouTube"; name = "YouTube";
@ -107,6 +111,5 @@
name = "Discover"; name = "Discover";
noDisplay = true; noDisplay = true;
}; };
}; };
} }

View File

@ -1,5 +1,4 @@
{ username, ... }: {username, ...}: {
{
programs.firefox = { programs.firefox = {
enable = true; enable = true;
profiles = { profiles = {

View File

@ -1,6 +1,8 @@
{ config, pkgs, ... }: {
config,
let pkgs,
...
}: let
lock-false = { lock-false = {
Value = false; Value = false;
Status = "locked"; Status = "locked";
@ -9,9 +11,7 @@
Value = true; Value = true;
Status = "locked"; Status = "locked";
}; };
in in {
{
home-manager.sharedModules = [ home-manager.sharedModules = [
./firefox-home.nix ./firefox-home.nix
]; ];
@ -21,7 +21,9 @@
enable = true; enable = true;
languagePacks = ["de" "en-US"]; languagePacks = ["de" "en-US"];
/* ---- POLICIES ---- */ /*
---- POLICIES ----
*/
# Check about:policies#documentation for options. # Check about:policies#documentation for options.
policies = { policies = {
PasswordManagerEnabled = false; PasswordManagerEnabled = false;
@ -44,15 +46,15 @@
DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on" DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on"
SearchBar = "unified"; # alternative: "separate" SearchBar = "unified"; # alternative: "separate"
/* ---- EXTENSIONS ---- */ /*
---- EXTENSIONS ----
*/
# Check about:support for extension/add-on ID strings. # Check about:support for extension/add-on ID strings.
# Valid strings for installation_mode are "allowed", "blocked", # Valid strings for installation_mode are "allowed", "blocked",
# "force_installed" and "normal_installed". # "force_installed" and "normal_installed".
# How to: https://discourse.nixos.org/t/declare-firefox-extensions-and-settings/36265 # How to: https://discourse.nixos.org/t/declare-firefox-extensions-and-settings/36265
ExtensionSettings = ExtensionSettings = with builtins; let
with builtins;
let
extension = shortId: uuid: { extension = shortId: uuid: {
name = uuid; name = uuid;
value = { value = {
@ -77,10 +79,15 @@
(extension "darkreader" "addon@darkreader.org") (extension "darkreader" "addon@darkreader.org")
]; ];
/* ---- PREFERENCES ---- */ /*
---- PREFERENCES ----
*/
# Check about:config for options. # Check about:config for options.
Preferences = { Preferences = {
"browser.contentblocking.category" = { Value = "strict"; Status = "locked"; }; "browser.contentblocking.category" = {
Value = "strict";
Status = "locked";
};
"extensions.pocket.enabled" = lock-false; "extensions.pocket.enabled" = lock-false;
"extensions.screenshots.disabled" = lock-true; "extensions.screenshots.disabled" = lock-true;
"browser.topsites.contile.enabled" = lock-false; "browser.topsites.contile.enabled" = lock-false;

View File

@ -1,11 +1,15 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ {
imports = config,
[ (modulesPath + "/installer/scan/not-detected.nix") lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "thunderbolt" "uas" "usbhid" "sd_mod"]; boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "thunderbolt" "uas" "usbhid" "sd_mod"];
@ -13,13 +17,13 @@
boot.kernelModules = ["kvm-amd"]; boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = []; boot.extraModulePackages = [];
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/disk/by-uuid/af8fdb25-74d8-4b33-8413-bdcb66e0d22a"; device = "/dev/disk/by-uuid/af8fdb25-74d8-4b33-8413-bdcb66e0d22a";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/58D5-0C06"; device = "/dev/disk/by-uuid/58D5-0C06";
fsType = "vfat"; fsType = "vfat";
options = ["fmask=0077" "dmask=0077"]; options = ["fmask=0077" "dmask=0077"];
}; };

View File

@ -1,18 +1,30 @@
{ lib, inputs, config, pkgs, username, project, host, version, ... }:
{ {
lib,
inputs,
config,
pkgs,
username,
project,
host,
version,
...
}: {
# Home Manager needs a bit of information about you and the # Home Manager needs a bit of information about you and the
# paths it should manage. # paths it should manage.
home.username = username; home.username = username;
home.homeDirectory = "/home/${username}"; home.homeDirectory = "/home/${username}";
home.packages = [ home.packages = [
(import ./ncli.nix { inherit pkgs host project; backupFiles = [ (import ./ncli.nix {
inherit pkgs host project;
backupFiles = [
".gtkrc-2.0.backup" ".gtkrc-2.0.backup"
".config/gtk-3.0/gtk.css.backup" ".config/gtk-3.0/gtk.css.backup"
".config/gtk-3.0/settings.ini.backup" ".config/gtk-3.0/settings.ini.backup"
".config/gtk-4.0/gtk.css.backup" ".config/gtk-4.0/gtk.css.backup"
".config/gtk-4.0/settings.ini.backup" ".config/gtk-4.0/settings.ini.backup"
".config/niri/config.kdl" ".config/niri/config.kdl"
]; }) ];
})
]; ];
imports = [ imports = [
@ -37,7 +49,6 @@
programs = { programs = {
home-manager = {enable = true;}; home-manager = {enable = true;};
zoxide = { zoxide = {
enable = true; enable = true;
#enableZshIntegration = true; #enableZshIntegration = true;
@ -56,7 +67,6 @@
}; };
}; };
git = { git = {
enable = true; enable = true;
settings = { settings = {
@ -80,7 +90,6 @@
path = "${username}.default"; path = "${username}.default";
isDefault = true; isDefault = true;
settings = { settings = {
}; };
}; };
}; };
@ -101,9 +110,7 @@
OfferToSaveLogins = false; OfferToSaveLogins = false;
DisplayBookmarksToolbar = "always"; # alternatives: "always" or "newtab" DisplayBookmarksToolbar = "always"; # alternatives: "always" or "newtab"
ExtensionSettings = ExtensionSettings = with builtins; let
with builtins;
let
extension = shortId: uuid: { extension = shortId: uuid: {
name = uuid; name = uuid;
value = { value = {

View File

@ -1,5 +1,9 @@
{ config, inputs, pkgs, ... }:
{ {
config,
inputs,
pkgs,
...
}: {
imports = [ imports = [
]; ];
@ -7,8 +11,7 @@
./home.nix ./home.nix
]; ];
environment.systemPackages = with pkgs; environment.systemPackages = with pkgs; [
[
hyprlock hyprlock
]; ];
} }

View File

@ -1,6 +1,9 @@
{pkgs, inputs, username, ...}:
{ {
pkgs,
inputs,
username,
...
}: {
imports = [ imports = [
]; ];

View File

@ -1,5 +1,9 @@
{ config, inputs, pkgs, ... }:
{ {
config,
inputs,
pkgs,
...
}: {
imports = [ imports = [
]; ];
@ -7,8 +11,7 @@
./home.nix ./home.nix
]; ];
environment.systemPackages = with pkgs; environment.systemPackages = with pkgs; [
[
hyprpaper hyprpaper
]; ];
} }

View File

@ -1,6 +1,10 @@
{pkgs, inputs, username, project, ...}:
{ {
pkgs,
inputs,
username,
project,
...
}: {
imports = [ imports = [
]; ];

View File

@ -3,11 +3,15 @@
#nmcli device wifi connect <ssid> password <password> #nmcli device wifi connect <ssid> password <password>
# or if no password (open wifi) # or if no password (open wifi)
#nmcli device wifi connect <ssid> #nmcli device wifi connect <ssid>
{ config, pkgs, lib, username, version, ... }:
{ {
imports = config,
[ pkgs,
lib,
username,
version,
...
}: {
imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./zsh.nix ./zsh.nix
#./ncli.nix #./ncli.nix

View File

@ -161,13 +161,64 @@ in
echo -e "Updating flake and rebuilding system for current host: $HOST on generation: $YELLOW$geno$NOCOLOR" echo -e "Updating flake and rebuilding system for current host: $HOST on generation: $YELLOW$geno$NOCOLOR"
cd "$HOME/$PROJECT" || { echo "Error: Could not change to $HOME/$PROJECT"; exit 1; } cd "$HOME/$PROJECT" || { echo "Error: Could not change to $HOME/$PROJECT"; exit 1; }
echo "Updating flake..." # --- Selective flake update ---
if nix flake update; then read -rp "Update [a]ll inputs or [s]elect manually? (a/s): " choice
case "$choice" in
a|A)
echo "Updating all inputs..."
if nix flake update --flake .; then
echo " Flake updated successfully" echo " Flake updated successfully"
else else
echo " Flake update failed" >&2 echo " Flake update failed" >&2
exit 1 exit 1
fi fi
;;
s|S)
echo "Fetching available updates (this may take a moment)..."
TEMP_LOCK=$(mktemp)
trap 'rm -f "$TEMP_LOCK"' EXIT
nix flake update --output-lock-file "$TEMP_LOCK" --flake . 2>/dev/null
outdated=$(jq -r --slurpfile new "$TEMP_LOCK" '
.nodes as $old |
$new[0].nodes as $newn |
($old | keys[]) |
select(. != "root") |
select(
($old[.].locked.lastModified // 0) !=
($newn[.].locked.lastModified // 0)
)
' flake.lock)
if [[ -z "$outdated" ]]; then
echo " All inputs are already up to date, skipping flake update."
else
echo
echo "Updates available for:"
printf '%s\n' "$outdated"
echo
echo "Tab to select, Enter to update, Esc to cancel."
selected=$(printf '%s\n' "$outdated" | fzf --multi) || {
echo "No inputs selected, skipping flake update."
selected=""
}
if [[ -n "$selected" ]]; then
if nix flake update --flake . $selected; then
echo " Flake updated successfully"
else
echo " Flake update failed" >&2
exit 1
fi
fi
fi
;;
*)
echo "Invalid choice, skipping flake update."
;;
esac
# --- End selective flake update ---
current="" current=""
@ -261,6 +312,9 @@ in
cd "$HOME/$PROJECT" || { echo "Error: Could not change to $HOME/$PROJECT"; exit 1; } cd "$HOME/$PROJECT" || { echo "Error: Could not change to $HOME/$PROJECT"; exit 1; }
git status git status
;; ;;
format)
nix fmt .
;;
trim) trim)
echo "Running 'sudo fstrim -v /' may take a few minutes and impact system performance." echo "Running 'sudo fstrim -v /' may take a few minutes and impact system performance."
read -p "Enter to run now or enter to exit (y/N): " -n 1 -r read -p "Enter to run now or enter to exit (y/N): " -n 1 -r

View File

@ -1,7 +1,11 @@
{ inputs, config, lib, pkgs, ... }:
{ {
environment.systemPackages = with pkgs; inputs,
[ config,
lib,
pkgs,
...
}: {
environment.systemPackages = with pkgs; [
neovim neovim
vimPlugins.LazyVim vimPlugins.LazyVim
vimPlugins.lazygit-nvim vimPlugins.lazygit-nvim
@ -13,7 +17,6 @@
./home.nix ./home.nix
]; ];
# programs.neovim = { # programs.neovim = {
# enable = true; # enable = true;
#}; #};

View File

@ -1,5 +1,10 @@
{ inputs, config, lib, pkgs, ... }:
{ {
inputs,
config,
lib,
pkgs,
...
}: {
imports = [ imports = [
inputs.nixvim.homeModules.nixvim inputs.nixvim.homeModules.nixvim
]; ];
@ -108,6 +113,22 @@
check_ts = true; # Use treesitter to avoid pairing inside strings/comments check_ts = true; # Use treesitter to avoid pairing inside strings/comments
}; };
}; };
conform-nvim = {
enable = true;
settings = {
formatters_by_ft = {
nix = ["alejandra"];
};
format_on_save = {
lsp_format = "fallback";
timeout_ms = 500;
};
};
# Pin the exact binary path so Nix guarantees it's available
settings.formatters = {
alejandra.command = "${pkgs.alejandra}/bin/alejandra";
};
};
}; };
extraPlugins = with pkgs.vimPlugins; [ extraPlugins = with pkgs.vimPlugins; [

View File

@ -1,5 +1,10 @@
{config, pkgs, libs, inputs, ...}:
{ {
config,
pkgs,
libs,
inputs,
...
}: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
#CLI tools #CLI tools
pdftk #PDF toolkit pdftk #PDF toolkit

View File

@ -1,5 +1,4 @@
{ ... }: {...}: {
{
imports = [ imports = [
./desktop.nix ./desktop.nix
./cli.nix ./cli.nix

View File

@ -1,10 +1,14 @@
{config, pkgs, libs, inputs, ...}:
{ {
config,
pkgs,
libs,
inputs,
...
}: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
#Programming #Programming
jetbrains.pycharm-community #The PyCharm IDE to edit Python code jetbrains.pycharm #The PyCharm IDE to edit Python code
jetbrains.idea-community #The IntelliJ IDE to edit Java code jetbrains.idea #The IntelliJ IDE to edit Java code
jetbrains.clion #The CLion IDE to edit and compile c/c++ code jetbrains.clion #The CLion IDE to edit and compile c/c++ code
jetbrains.datagrip #The DataGrip IDE to manage Databases jetbrains.datagrip #The DataGrip IDE to manage Databases
#jetbrains-toolbox #jetbrains-toolbox
@ -33,7 +37,7 @@
atlauncher #Minecraft Launcher atlauncher #Minecraft Launcher
#discord #discord
vesktop #Aternative for discord on Wayland vesktop #Aternative for discord on Wayland
wineWowPackages.stagingFull wineWow64Packages.stagingFull
winetricks winetricks
wasistlos #Whatsapp wasistlos #Whatsapp
#obs-studio #Screen Recorder #obs-studio #Screen Recorder

View File

@ -1,12 +1,19 @@
{config, pkgs, libs, inputs, system, alejandra, ...}:
{ {
config,
pkgs,
libs,
inputs,
system,
alejandra,
...
}: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
#Essentials (CLI Only) #Essentials (CLI Only)
wget #A tool for quickly downloading things from the Web wget #A tool for quickly downloading things from the Web
javaPackages.compiler.openjdk25 #Java Development Kit 25 javaPackages.compiler.openjdk25 #Java Development Kit 25
python312 #Python 3.12 python314 #Python
python312Packages.pip #Pip for Python 3.12 python314Packages.pip #Pip for Python 3.12
python312Packages.cmake #The CMake tool to manage project build configurations python314Packages.cmake #The CMake tool to manage project build configurations
fastfetch #A utility to see information about your machine fastfetch #A utility to see information about your machine
btop #A replacement for htop to see your machines resources btop #A replacement for htop to see your machines resources
git #Git ... no need to explain git #Git ... no need to explain
@ -21,7 +28,7 @@
konsave #A package to transfer the look and feel of KDE Plasma to other machines konsave #A package to transfer the look and feel of KDE Plasma to other machines
openssh #SSH openssh #SSH
zoxide #Alternatice to cd, browse files zoxide #Alternatice to cd, browse files
fzf-zsh #Search for file names zsh #Search for file names
coreutils-full #Full set of coreutils, including some missing ones coreutils-full #Full set of coreutils, including some missing ones
multipath-tools multipath-tools
docker #Docker ... no need to explain docker #Docker ... no need to explain
@ -38,6 +45,8 @@
rocmPackages.rocm-runtime #AMD ROCm runtime rocmPackages.rocm-runtime #AMD ROCm runtime
ripgrep #Alternative to grep search for text in files ripgrep #Alternative to grep search for text in files
pipewire #Multimedia handling pipewire #Multimedia handling
fzf #Needed for nix-selective update tool
jq #Needed for nix-selective update tool
distrobox distrobox
dbus dbus
cifs-utils cifs-utils

View File

@ -1,5 +1,11 @@
{config, pkgs, libs, inputs, nix-flatpak, ...}:
{ {
config,
pkgs,
libs,
inputs,
nix-flatpak,
...
}: {
services.flatpak = { services.flatpak = {
enable = true; enable = true;

View File

@ -1,8 +1,10 @@
{ pkgs, inputs, username, ... }:
{ {
pkgs,
imports = inputs,
[ username,
...
}: {
imports = [
inputs.stylix.nixosModules.stylix inputs.stylix.nixosModules.stylix
]; ];

View File

@ -1,6 +1,9 @@
{pkgs, inputs, username, ...}:
{ {
pkgs,
inputs,
username,
...
}: {
imports = [ imports = [
]; ];

View File

@ -1,5 +1,4 @@
{ ... }: {...}: {
{
# xdg.configFile."waybar/config.jsonc".source = ./config.jsonc; # xdg.configFile."waybar/config.jsonc".source = ./config.jsonc;
# xdg.configFile."waybar/style.css".source = ./style.css; # xdg.configFile."waybar/style.css".source = ./style.css;
} }

View File

@ -1,4 +1,10 @@
{ config, pkgs, username, project, ... }: { {
config,
pkgs,
username,
project,
...
}: {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = false; enableCompletion = false;
@ -19,7 +25,6 @@
#To reset powerlevel10k, write 'p10k configure' in shell! #To reset powerlevel10k, write 'p10k configure' in shell!
promptInit = '' promptInit = ''
source ${pkgs.zsh-autocomplete}/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
# Make and move the cursor on the command line, even when in the menu # Make and move the cursor on the command line, even when in the menu
@ -35,7 +40,6 @@
pkgs.zsh-completions pkgs.zsh-completions
pkgs.zsh-powerlevel10k pkgs.zsh-powerlevel10k
pkgs.zsh-syntax-highlighting pkgs.zsh-syntax-highlighting
pkgs.zsh-autocomplete
pkgs.zsh-autosuggestions pkgs.zsh-autosuggestions
]; ];
} }

View File

@ -1,6 +1,10 @@
{ config, pkgs, username, project, ... }:
{ {
config,
pkgs,
username,
project,
...
}: {
#To show logs of services run: #To show logs of services run:
#journalctl --user-unit={service-name} --user #journalctl --user-unit={service-name} --user
systemd.user.services.niri-waybar = { systemd.user.services.niri-waybar = {

View File

@ -1,5 +1,9 @@
{ config, inputs, pkgs, ... }:
{ {
config,
inputs,
pkgs,
...
}: {
imports = [ imports = [
./autostart.nix ./autostart.nix
../modules/hyprlock ../modules/hyprlock
@ -11,8 +15,7 @@
./home.nix ./home.nix
]; ];
environment.systemPackages = with pkgs; environment.systemPackages = with pkgs; [
[
#mako #mako
fuzzel fuzzel
waybar waybar
@ -26,11 +29,11 @@
xwayland.enable = true; xwayland.enable = true;
}; };
#services.xserver.enable = true; #services.xserver.enable = true;
#services.xserver.displayManager.sddm.enable = true; #services.xserver.displayManager.sddm.enable = true;
xdg.portal = { #Needed for waybar xdg.portal = {
#Needed for waybar
enable = true; enable = true;
extraPortals = [pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr]; extraPortals = [pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr];
config.common.default = "*"; config.common.default = "*";
@ -38,5 +41,4 @@
#sound.enable = true; #sound.enable = true;
#security.rtkit.enable = true; #security.rtkit.enable = true;
} }

View File

@ -1,6 +1,8 @@
{pkgs, inputs, ...}:
{ {
pkgs,
inputs,
...
}: {
imports = [ imports = [
inputs.niri.homeModules.niri inputs.niri.homeModules.niri
../modules/waybar/home.nix ../modules/waybar/home.nix

View File

@ -8,6 +8,7 @@
#----- #-----
alias py="python3" alias py="python3"
alias mcrow="echo 'you better try to use nvim you little shit! :3'" alias mcrow="echo 'you better try to use nvim you little shit! :3'"
alias vi="nvim"
alias srcals="source $HOME/NixOS/other/aliases && echo 'Sourced Aliases ... successful!'" alias srcals="source $HOME/NixOS/other/aliases && echo 'Sourced Aliases ... successful!'"
alias please="sudo" alias please="sudo"
alias se="sudoedit" alias se="sudoedit"

View File

@ -1,6 +1,10 @@
{ config, pkgs, username, project, ... }:
{ {
config,
pkgs,
username,
project,
...
}: {
#To show logs of services run: journalctl --user-unit={service-name} --user #To show logs of services run: journalctl --user-unit={service-name} --user
systemd.user.services.autostart-yakuake = { systemd.user.services.autostart-yakuake = {

View File

@ -1,5 +1,10 @@
{config, pkgs, username, project, ...}: {
let config,
pkgs,
username,
project,
...
}: let
# Define the custom background package with the correct relative path # Define the custom background package with the correct relative path
background-package = pkgs.stdenvNoCC.mkDerivation { background-package = pkgs.stdenvNoCC.mkDerivation {
name = "background-image"; name = "background-image";
@ -12,10 +17,8 @@ let
plasmaTheme = "desktop"; #Possible values are "laptop" or "desktop" plasmaTheme = "desktop"; #Possible values are "laptop" or "desktop"
powerProfile = "laptop"; #Possible values are "laptop" or "desktop" powerProfile = "laptop"; #Possible values are "laptop" or "desktop"
in in {
{ imports = [
imports =
[
./autostart.nix ./autostart.nix
../modules/stylix ../modules/stylix
]; ];
@ -75,7 +78,6 @@ in
''; '';
environment = { environment = {
plasma6.excludePackages = with pkgs; [ plasma6.excludePackages = with pkgs; [
kdePackages.elisa kdePackages.elisa
]; ];

View File

@ -1,7 +1,14 @@
{pkgs, lib, inputs, username, project, plasmaTheme, ...}:
{ {
pkgs,
imports = [ lib,
inputs,
username,
project,
plasmaTheme,
...
}: {
imports =
[
./settings/common.nix ./settings/common.nix
./settings/powerProfile.nix ./settings/powerProfile.nix
] ]

View File

@ -1,5 +1,11 @@
{pkgs, inputs, username, project, plasmaTheme, ...}:
{ {
pkgs,
inputs,
username,
project,
plasmaTheme,
...
}: {
programs = { programs = {
plasma = { plasma = {
enable = true; enable = true;
@ -18,6 +24,24 @@
accelerationProfile = "none"; accelerationProfile = "none";
scrollSpeed = 1.0; scrollSpeed = 1.0;
} }
{
name = "ROCCAT ROCCAT Kone Aimo 16K";
vendorId = "1e7d";
productId = "2e2c";
leftHanded = false;
acceleration = -1;
accelerationProfile = "none";
scrollSpeed = 1.0;
}
#{
# name = "ROCCAT ROCCAT Vulcan AIMO";
# vendorId = "1e7d";
# productId = "3098";
# leftHanded = false;
# acceleration = -1;
# accelerationProfile = "none";
# scrollSpeed = 1.0;
#}
]; ];
shortcuts = { shortcuts = {
@ -33,7 +57,6 @@
"Switch to Next Keyboard Layout" = []; "Switch to Next Keyboard Layout" = [];
}; };
#kaccess."Toggle Screen Reader On and Off" = "Meta+Alt+S"; #kaccess."Toggle Screen Reader On and Off" = "Meta+Alt+S";
#kcm_touchpad."Disable Touchpad" = "Touchpad Off"; #kcm_touchpad."Disable Touchpad" = "Touchpad Off";
#kcm_touchpad."Enable Touchpad" = "Touchpad On"; #kcm_touchpad."Enable Touchpad" = "Touchpad On";
@ -381,6 +404,7 @@
kwinrc = { kwinrc = {
# "Activities/LastVirtualDesktop"."0f8d8349-5b1b-4b77-bfa5-22829bfaf459" = "4a2f44cc-dfe7-45dc-8439-fe34a6866d37"; # "Activities/LastVirtualDesktop"."0f8d8349-5b1b-4b77-bfa5-22829bfaf459" = "4a2f44cc-dfe7-45dc-8439-fe34a6866d37";
# "Activities/LastVirtualDesktop".e85f493f-046d-4dca-9e07-987ecd4ca4bc = "4a2f44cc-dfe7-45dc-8439-fe34a6866d37"; # "Activities/LastVirtualDesktop".e85f493f-046d-4dca-9e07-987ecd4ca4bc = "4a2f44cc-dfe7-45dc-8439-fe34a6866d37";
"EdgeBarrier"."EdgeBarrier" = 15;
Desktops = { Desktops = {
# Id_1 = "4a2f44cc-dfe7-45dc-8439-fe34a6866d37"; # Id_1 = "4a2f44cc-dfe7-45dc-8439-fe34a6866d37";
# Id_2 = "fc5cf4ff-2e08-4059-ac1f-7c5540efa4fc"; # Id_2 = "fc5cf4ff-2e08-4059-ac1f-7c5540efa4fc";

View File

@ -1,5 +1,11 @@
{pkgs, inputs, username, project, plasmaTheme, ...}:
{ {
pkgs,
inputs,
username,
project,
plasmaTheme,
...
}: {
programs = { programs = {
plasma = { plasma = {
overrideConfig = true; overrideConfig = true;
@ -21,7 +27,8 @@
launchers = [ launchers = [
# optional pinned apps # optional pinned apps
"applications:org.kde.dolphin.desktop" "applications:org.kde.dolphin.desktop"
"applications:systemsettings.desktop""applications:kitty.desktop" "applications:systemsettings.desktop"
"applications:kitty.desktop"
"applications:firefox.desktop" "applications:firefox.desktop"
]; ];
}; };

View File

@ -1,6 +1,11 @@
{pkgs, inputs, username, project, plasmaTheme, ...}:
{ {
pkgs,
inputs,
username,
project,
plasmaTheme,
...
}: {
programs = { programs = {
plasma = { plasma = {
overrideConfig = true; overrideConfig = true;
@ -111,13 +116,13 @@
launchers = [ launchers = [
# optional pinned apps # optional pinned apps
"applications:org.kde.dolphin.desktop" "applications:org.kde.dolphin.desktop"
"applications:systemsettings.desktop""applications:kitty.desktop" "applications:systemsettings.desktop"
"applications:kitty.desktop"
"applications:firefox.desktop" "applications:firefox.desktop"
]; ];
}; };
}; };
} }
]; ];
} }
]; ];

View File

@ -1,5 +1,11 @@
{pkgs, inputs, username, project, powerProfile, ...}: {
let pkgs,
inputs,
username,
project,
powerProfile,
...
}: let
profiles = { profiles = {
laptop = { laptop = {
AC.powerProfile = "powerSaving"; AC.powerProfile = "powerSaving";
@ -14,8 +20,7 @@ let
}; };
selectedProfile = profiles.${powerProfile}; selectedProfile = profiles.${powerProfile};
in in {
{
programs = { programs = {
plasma = { plasma = {
overrideConfig = true; overrideConfig = true;