Compare commits

...

22 Commits

Author SHA1 Message Date
7ed6185b1d Changed url of pam-fprint-grosshack input 2026-04-08 11:49:51 +02:00
3d751291ab Hardened firefox and set default search engine to self hosted searxng 2026-04-08 11:34:14 +02:00
594e078929 Added lossless cut 2026-04-08 09:49:36 +02:00
dc4ff6d8d2 Changed grub timeout to 5 sec and disabled ollama service 2026-04-08 09:23:09 +02:00
b341ca2c87 Renamed 'firefox-home' module to only 'home' 2026-03-26 10:24:02 +01:00
762bab2c0b Moved Firefox config to its own folder in modules
Added youtube shorts blocker extension to firefox
2026-03-26 10:20:28 +01:00
0f1d51c246 Removed Zen Browser 2026-03-26 10:07:36 +01:00
b953cdb4be Fixed SDDM fingerprint not working.
- Added a new custom flake input of pam_fprintd_grosshack so it accepts either password or fingerprint
2026-03-25 11:16:30 +01:00
cf1470cb63 Added Neovim Plugins:
- Remenber where you exited file
- Limited treesitter header context
- Added autocompletion
2026-03-24 09:30:30 +01:00
4962c1bb03 Plasma manager now longer overrides everything. New aliases for searching plasma settings differences 2026-03-24 09:22:18 +01:00
ce797e1a65 Added alejandra formatter to neovim 2026-03-12 10:09:55 +01:00
93bc7644f5 Added edge barrier setting to plasma manager 2026-03-12 10:09:29 +01:00
c986ac4bf7 Updated Flake packages 2026-03-12 09:40:09 +01:00
b25430abc9 Modifed ncli update to ask which packages to update so it is possible to only update wanted packages 2026-03-12 09:39:52 +01:00
c6862c78db - Formatted everything using Alejandra
- Added 'ncli format' as a quick command to format everything
2026-03-11 16:03:16 +01:00
25ecab4a70 Addednvi as an alias for nvim 2026-03-11 15:53:53 +01:00
8de85492a6 Removed ZSH autocomplete as it was slowing down terminal startup 2026-03-11 15:53:37 +01:00
059b424d87 Configured mpre fingerprint settings, also for security 2026-03-11 15:53:00 +01:00
8dba82f523 Tried to configure Kone aimo sensitivity (not yet working) 2026-03-11 15:51:55 +01:00
70fc8a0c9a Updated flake and some packages to newest versions 2026-03-05 17:10:36 +01:00
ea977f8253 Changed Logitech mouse sensitivity 2026-03-05 16:07:50 +01:00
9abff2dfd7 Added formatter to nix flake
(Still needs to be configred how I like it)
2026-03-05 16:07:00 +01:00
40 changed files with 1425 additions and 1111 deletions

211
flake.lock generated
View File

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

View File

@ -4,8 +4,8 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware"; #To Provide Framework13 hardware modules
nixos-hardware.url = "github:NixOS/nixos-hardware"; #To Provide Framework13 hardware modules
home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
@ -14,19 +14,16 @@
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
zen-browser.url = "github:0xc000022070/zen-browser-flake";
zen-browser.inputs.nixpkgs.follows = "nixpkgs";
#stylix.url = "github:nix-community/stylix/";
stylix.url = "github:nix-community/stylix/master"; #Had to use branch or it would not build corrently
stylix.url = "github:nix-community/stylix/master"; #Had to use branch or it would not build corrently
stylix.inputs.nixpkgs.follows = "nixpkgs";
quickshell = {
url = "github:outfoxxed/quickshell";
inputs.nixpkgs.follows = "nixpkgs";
};
niri = {
url = "github:sodiboo/niri-flake";
inputs.nixpkgs.follows = "nixpkgs";
@ -42,40 +39,65 @@
inputs.nixpkgs.follows = "nixpkgs";
};
pam-fprint-grosshack = {
url = "git+https://gitea.cookiee.org/cookiez/nix-fprint-grosshack-flake.git";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-flatpak.url = "github:gmodena/nix-flatpak";
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, ... }:
let
outputs = inputs @ {
nixpkgs,
alejandra,
pam-fprint-grosshack,
home-manager,
plasma-manager,
nixos-hardware,
stylix,
niri,
grub2-themes,
nix-flatpak,
...
}: let
username = "cookiez";
hostname = "nixos";
project = "NixOS";
version = "26.05"; #DO NOT change to "unstable" as it is not a valid option for all cascading uses of this variable
version = "26.05"; #DO NOT change to "unstable" as it is not a valid option for all cascading uses of this variable
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
pkgs = import nixpkgs {inherit system;};
framework13 = true;
in {
formatter.${system} = nixpkgs.legacyPackages.${system}.alejandra;
framework13 = true;
in
{
nixosConfigurations = {
${hostname} = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
specialArgs = {
inherit inputs;
inherit username;
inherit version;
inherit system;
inherit project;
inherit alejandra;
pam-fprint-grosshack-pkg = pam-fprint-grosshack.packages.${system}.default;
host = hostname;
};
modules = [
./modules
#Conditional Modules!
] ++ (if framework13 then [ nixos-hardware.nixosModules.framework-13-7040-amd ] else [ ]) ++ [
];
modules =
[
./modules
#Conditional Modules!
]
++ (
if framework13
then [nixos-hardware.nixosModules.framework-13-7040-amd]
else []
)
++ [
];
};
};
};

View File

@ -1,22 +1,26 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}: {
boot = {
# silence first boot output
consoleLogLevel = 3;
initrd.verbose = false;
initrd.systemd.enable = true;
kernelParams = [
"quiet"
"splash"
"intremap=on"
"boot.shell_on_fail"
"udev.log_priority=3"
"rd.systemd.show_status=auto"
];
# silence first boot output
consoleLogLevel = 3;
initrd.verbose = false;
initrd.systemd.enable = true;
kernelParams = [
"quiet"
"splash"
"intremap=on"
"boot.shell_on_fail"
"udev.log_priority=3"
"rd.systemd.show_status=auto"
];
# plymouth, showing after LUKS unlock
plymouth.enable = true;
plymouth.font = "${pkgs.hack-font}/share/fonts/truetype/Hack-Regular.ttf";
plymouth.logo = "${pkgs.nixos-icons}/share/icons/hicolor/128x128/apps/nix-snowflake.png";
# plymouth, showing after LUKS unlock
plymouth.enable = true;
plymouth.font = "${pkgs.hack-font}/share/fonts/truetype/Hack-Regular.ttf";
plymouth.logo = "${pkgs.nixos-icons}/share/icons/hicolor/128x128/apps/nix-snowflake.png";
};
}

View File

@ -3,23 +3,32 @@
#nmcli device wifi connect <ssid> password <password>
# or if no password (open wifi)
#nmcli device wifi connect <ssid>
{ inputs, config, pkgs, lib, username, project, host, version, system, ... }:
{
inputs,
config,
pkgs,
lib,
username,
project,
host,
version,
system,
pam-fprint-grosshack-pkg,
...
}: {
#Assign Swap to the PC
#swapDevices = [{
# device = "/swapfile";
# size = 16 * 1024; # 16GB
#}];
imports =
[
imports = [
inputs.home-manager.nixosModules.home-manager
inputs.grub2-themes.nixosModules.default
inputs.nix-flatpak.nixosModules.nix-flatpak
./hardware-configuration.nix
./firefox.nix
./firefox
./boot-splash.nix
./zsh.nix
./neovim
@ -28,10 +37,10 @@
# Bootloader.
boot = {
kernelParams = [ "quiet" "splash" ];
kernelParams = ["quiet" "splash"];
initrd = {
verbose = false;
kernelModules = [ "amdgpu" ];
kernelModules = ["amdgpu"];
};
loader = {
systemd-boot.enable = false;
@ -40,7 +49,7 @@
grub = {
enable = true;
device = "/dev/nvme0n1"; #Needs to be changed when using a new computer! (Make grub partition - look below!)
device = "/dev/nvme0n1"; #Needs to be changed when using a new computer! (Make grub partition - look below!)
#devices = [ "nodev" ];
efiSupport = true;
useOSProber = true;
@ -48,22 +57,21 @@
};
grub2-theme = {
enable = true;
theme = "whitesur";
footer = true;
enable = true;
theme = "whitesur";
footer = true;
};
timeout = 10;
timeout = 5;
};
};
#Ensure there is a grub_bios partition: (gparted)
#Create a new parititon. File System: Unformatted - Size: ~5 Mib
#Apply
#Manage flags -> Add bios_grub
networking = {
# Enable networking
networkmanager.enable = true;
@ -90,9 +98,9 @@
useGlobalPkgs = true;
useUserPackages = true;
users.${username} = ./home.nix;
backupFileExtension = "backup"; # Automatically backs up conflicting files during activation
extraSpecialArgs = { inherit inputs username project version system host; };
sharedModules = [ inputs.plasma-manager.homeModules.plasma-manager ];
backupFileExtension = "backup"; # Automatically backs up conflicting files during activation
extraSpecialArgs = {inherit inputs username project version system host;};
sharedModules = [inputs.plasma-manager.homeModules.plasma-manager];
};
# Set your time zone.
@ -112,11 +120,11 @@
LC_TELEPHONE = "de_DE.UTF-8";
LC_TIME = "de_DE.UTF-8";
};
# List services that you want to enable:
services = {
ollama = {
enable = true;
enable = false;
# Optional: load models on startup
#loadModels = [ ... ];
};
@ -135,7 +143,7 @@
fprintd.tod.enable = true;
fprintd.tod.driver = pkgs.libfprint-2-tod1-goodix;
fwupd.enable = true; #Allows BIOS updates
fwupd.enable = true; #Allows BIOS updates
locate = {
enable = true;
@ -146,8 +154,8 @@
enable = true;
useRoutingFeatures = "client";
extraSetFlags = [
"--operator=${username}"
"--accept-routes"
"--operator=${username}"
"--accept-routes"
];
};
@ -165,8 +173,8 @@
"10-bluez-monitor.properties" = {
"bluez5.msbc-support" = false;
"bluez5.hfphsp-support" = false;
"bluez5.hfphsp-backend" = "none"; # Key addition: no backend
"bluez5.roles" = [ "a2dp_sink" ];
"bluez5.hfphsp-backend" = "none"; # Key addition: no backend
"bluez5.roles" = ["a2dp_sink"];
};
"11-bluetooth-policy" = {
"wireplumber.settings" = {
@ -175,14 +183,19 @@
};
};
};
#Enable CUPS to print documents.
printing.enable = true;
# Enable the OpenSSH daemon.
openssh.enable = true;
};
systemd.services.fprintd = {
wantedBy = ["multi-user.target"];
serviceConfig.Type = "simple";
};
fonts = {
packages = with pkgs; [
font-awesome
@ -196,11 +209,11 @@
fontconfig = {
enable = true;
defaultFonts = {
monospace = [ "JetBrainsMono Nerd Font" "MesloLGS NF" ];
sansSerif = [ "Inter" "Noto Sans" ];
serif = [ "Noto Serif" ];
monospace = ["JetBrainsMono Nerd Font" "MesloLGS NF"];
sansSerif = ["Inter" "Noto Sans"];
serif = ["Noto Serif"];
};
};
};
@ -262,7 +275,7 @@
users.users.${username} = {
isNormalUser = true;
description = "Cookiez";
extraGroups = [ "networkmanager" "wheel" "docker" ];
extraGroups = ["networkmanager" "wheel" "docker"];
packages = with pkgs; [
#User Packages Here
];
@ -291,7 +304,7 @@
};
sessionVariables = {
NIXOS_OZONE_WL = "1"; #For chromium to work under wayland and with virtual Keyboards (Only really needed for virtual keyboards, but doest hurt ...)
NIXOS_OZONE_WL = "1"; #For chromium to work under wayland and with virtual Keyboards (Only really needed for virtual keyboards, but doest hurt ...)
TERMINAL = "kitty";
};
};
@ -301,16 +314,34 @@
sudo.wheelNeedsPassword = false;
pam.services = {
login.fprintAuth = true;
sudo.fprintAuth = true;
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;
hyprlock = {};
sddm = {
fprintAuth = false; # prevent NixOS from adding its own pam_fprintd block
text = lib.mkForce ''
auth sufficient ${pam-fprint-grosshack-pkg}/lib/security/pam_fprintd_grosshack.so
auth sufficient pam_unix.so try_first_pass nullok
auth sufficient ${pkgs.fprintd}/lib/security/pam_fprintd.so
account required pam_unix.so
password required pam_deny.so
session required pam_unix.so
session optional ${pkgs.systemd}/lib/security/pam_systemd.so
'';
};
};
};
#Allow Nix Commands
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.experimental-features = ["nix-command" "flakes"];
# Allow unfree packages
nixpkgs.config.allowUnfree = true;

View File

@ -1,5 +1,4 @@
{ config, ... }:
{
{config, ...}: {
imports = [
./configuration.nix
@ -21,16 +20,16 @@
};
};
# "minimal" = {
# inheritParentConfig = false;
# configuration = {
# imports = [
# ./minimal.nix
# ];
#
# environment.etc."nixos-tags".text = "minimal";
# };
# };
# "minimal" = {
# inheritParentConfig = false;
# configuration = {
# imports = [
# ./minimal.nix
# ];
#
# environment.etc."nixos-tags".text = "minimal";
# };
# };
"niri" = {
inheritParentConfig = false;
@ -43,6 +42,5 @@
environment.etc."nixos-tags".text = "niri";
};
};
};
};
}

View File

@ -1,5 +1,9 @@
{ pkgs, username, project, ...}:
{
pkgs,
username,
project,
...
}: {
xdg = {
desktopEntries.youtube = {
name = "YouTube";
@ -7,16 +11,16 @@
terminal = false;
type = "Application";
icon = "applications-multimedia";
categories = [ "AudioVideo" "Player" "Network" ];
categories = ["AudioVideo" "Player" "Network"];
};
desktopEntries."org.kde.konsole" = {
name = "Konsole";
noDisplay = true;
};
desktopEntries."discord" = {
categories = [ "Network" "InstantMessaging" "Chat" ];
categories = ["Network" "InstantMessaging" "Chat"];
exec = "vesktop %U";
genericName = "Internet Messenger";
icon = "/home/${username}/${project}/other/discord.app.png";
@ -26,7 +30,7 @@
desktopEntries."vesktop" = {
noDisplay = true;
categories = [ "Network" "InstantMessaging" "Chat" ];
categories = ["Network" "InstantMessaging" "Chat"];
exec = "vesktop %U";
genericName = "Internet Messenger";
name = "Vesktop";
@ -39,7 +43,7 @@
comment = "Fast, feature-rich, GPU based terminal";
exec = "kitty";
terminal = false;
categories = [ "System" "TerminalEmulator" ];
categories = ["System" "TerminalEmulator"];
icon = "/home/${username}/${project}/other/kitty.app.png";
};
@ -107,6 +111,5 @@
name = "Discover";
noDisplay = true;
};
};
}

View File

@ -1,18 +0,0 @@
{ username, ... }:
{
programs.firefox = {
enable = true;
profiles = {
"${username}" = {
extensions.force = true;
};
};
};
systemd.user.services."firefox-autostart" = {
serviceConfig = {
ExecStart = "";
ExecStop = "";
};
};
}

View File

@ -1,105 +0,0 @@
{ config, pkgs, ... }:
let
lock-false = {
Value = false;
Status = "locked";
};
lock-true = {
Value = true;
Status = "locked";
};
in
{
home-manager.sharedModules = [
./firefox-home.nix
];
programs = {
firefox = {
enable = true;
languagePacks = [ "de" "en-US" ];
/* ---- POLICIES ---- */
# Check about:policies#documentation for options.
policies = {
PasswordManagerEnabled = false;
DisableTelemetry = true;
DisableFirefoxStudies = true;
EnableTrackingProtection = {
Value= true;
Locked = true;
Cryptomining = true;
Fingerprinting = true;
};
DisablePocket = true;
#DisableFirefoxAccounts = true;
#DisableAccounts = true;
#DisableFirefoxScreenshots = true;
OverrideFirstRunPage = "";
OverridePostUpdatePage = "";
DontCheckDefaultBrowser = true;
DisplayBookmarksToolbar = "always"; # alternatives: "always" or "newtab"
DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on"
SearchBar = "unified"; # alternative: "separate"
/* ---- EXTENSIONS ---- */
# Check about:support for extension/add-on ID strings.
# Valid strings for installation_mode are "allowed", "blocked",
# "force_installed" and "normal_installed".
# How to: https://discourse.nixos.org/t/declare-firefox-extensions-and-settings/36265
ExtensionSettings =
with builtins;
let
extension = shortId: uuid: {
name = uuid;
value = {
install_url = "https://addons.mozilla.org/en-US/firefox/downloads/latest/${shortId}/latest.xpi";
installation_mode = "normal_installed";
};
};
in
listToAttrs [
(extension "ublock-origin" "uBlock0@raymondhill.net")
(extension "bitwarden-password-manager" "{446900e4-71c2-419f-a6a7-df9c091e268b}")
#(extension "2fas-two-factor-authentication" "admin@2fas.com")
(extension "sponsorblock" "sponsorBlocker@ajay.app")
#(extension "dearrow" "deArrow@ajay.app")
#(extension "enhancer-for-youtube" "enhancerforyoutube@maximerf.addons.mozilla.org")
#(extension "tabliss" "extension@tabliss.io")
#(extension "don-t-fuck-with-paste" "DontFuckWithPaste@raim.ist")
#(extension "clearurls" "{74145f27-f039-47ce-a470-a662b129930a}")
#(extension "react-devtools" "@react-devtools")
(extension "keepa" "amptra@keepa.com")
(extension "redditUntranslate" "reddit-url-redirector@kichkoupi.com")
(extension "darkreader" "addon@darkreader.org")
];
/* ---- PREFERENCES ---- */
# Check about:config for options.
Preferences = {
"browser.contentblocking.category" = { Value = "strict"; Status = "locked"; };
"extensions.pocket.enabled" = lock-false;
"extensions.screenshots.disabled" = lock-true;
"browser.topsites.contile.enabled" = lock-false;
#"browser.formfill.enable" = lock-false;
#"browser.search.suggest.enabled" = lock-false;
#"browser.search.suggest.enabled.private" = lock-false;
#"browser.urlbar.suggest.searches" = lock-false;
"browser.urlbar.showSearchSuggestionsFirst" = lock-false;
"browser.newtabpage.activity-stream.feeds.section.topstories" = lock-false;
"browser.newtabpage.activity-stream.feeds.snippets" = lock-false;
"browser.newtabpage.activity-stream.section.highlights.includePocket" = lock-false;
"browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = lock-false;
"browser.newtabpage.activity-stream.section.highlights.includeDownloads" = lock-false;
"browser.newtabpage.activity-stream.section.highlights.includeVisited" = lock-false;
"browser.newtabpage.activity-stream.showSponsored" = lock-false;
"browser.newtabpage.activity-stream.system.showSponsored" = lock-false;
"browser.newtabpage.activity-stream.showSponsoredTopSites" = lock-false;
};
};
};
};
}

171
modules/firefox/default.nix Normal file
View File

@ -0,0 +1,171 @@
{
config,
pkgs,
...
}: let
lock-false = {
Value = false;
Status = "locked";
};
lock-true = {
Value = true;
Status = "locked";
};
in {
home-manager.sharedModules = [
./home.nix
];
programs = {
firefox = {
enable = true;
languagePacks = ["de" "en-US"];
/*
---- POLICIES ----
*/
# Check about:policies#documentation for options.
policies = {
PasswordManagerEnabled = false;
DisableTelemetry = true;
DisableFirefoxStudies = true;
EnableTrackingProtection = {
Value = true;
Locked = true;
Cryptomining = true;
Fingerprinting = true;
};
DisablePocket = true;
#DisableFirefoxAccounts = true;
#DisableAccounts = true;
#DisableFirefoxScreenshots = true;
OverrideFirstRunPage = "";
OverridePostUpdatePage = "";
DontCheckDefaultBrowser = true;
DisplayBookmarksToolbar = "always"; # alternatives: "always" or "newtab"
DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on"
SearchBar = "unified"; # alternative: "separate"
/*
---- EXTENSIONS ----
*/
# Check about:support for extension/add-on ID strings.
# Valid strings for installation_mode are "allowed", "blocked",
# "force_installed" and "normal_installed".
# How to: https://discourse.nixos.org/t/declare-firefox-extensions-and-settings/36265
ExtensionSettings = with builtins; let
extension = shortId: uuid: {
name = uuid;
value = {
install_url = "https://addons.mozilla.org/en-US/firefox/downloads/latest/${shortId}/latest.xpi";
installation_mode = "force_installed";
};
};
in
listToAttrs [
#(extension "{name in url}" "{about:support Add-ons on }")
(extension "ublock-origin" "uBlock0@raymondhill.net")
(extension "bitwarden-password-manager" "{446900e4-71c2-419f-a6a7-df9c091e268b}")
(extension "sponsorblock" "sponsorBlocker@ajay.app")
(extension "keepa" "amptra@keepa.com")
(extension "redditUntranslate" "reddit-url-redirector@kichkoupi.com")
(extension "darkreader" "addon@darkreader.org")
(extension "youtube-shorts-block" "{34daeb50-c2d2-4f14-886a-7160b24d66a4}")
(extension "clearurls" "{74145f27-f039-47ce-a470-a662b129930a}")
];
/*
---- PREFERENCES ----
*/
# Check about:config for options.
Preferences = {
"browser.contentblocking.category" = {
Value = "strict"; # strictest tracker/ad blocking mode
Status = "locked";
};
"extensions.pocket.enabled" = lock-false; # disables Pocket integration
"extensions.screenshots.disabled" = lock-true; # disables Firefox Screenshots
"browser.topsites.contile.enabled" = lock-false; # disables sponsored tiles on newtab
"browser.formfill.enable" = lock-false; # disables form autofill (prevents local data leakage)
"browser.search.suggest.enabled" = lock-false; # disables search suggestions in normal mode
"browser.search.suggest.enabled.private" = lock-false; # disables search suggestions in private mode
"browser.urlbar.suggest.searches" = lock-false; # disables search suggestions in address bar dropdown
"browser.urlbar.showSearchSuggestionsFirst" = lock-false; # hides search suggestions in address bar
"browser.newtabpage.activity-stream.feeds.section.topstories" = lock-false; # disables sponsored stories on newtab
"browser.newtabpage.activity-stream.feeds.snippets" = lock-false; # disables news snippets on newtab
"browser.newtabpage.activity-stream.section.highlights.includePocket" = lock-false; # removes Pocket from highlights
"browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = lock-false; # removes bookmarks from highlights
"browser.newtabpage.activity-stream.section.highlights.includeDownloads" = lock-false; # removes downloads from highlights
"browser.newtabpage.activity-stream.section.highlights.includeVisited" = lock-false; # removes visited sites from highlights
"browser.newtabpage.activity-stream.showSponsored" = lock-false; # disables all sponsored content
"browser.newtabpage.activity-stream.system.showSponsored" = lock-false; # disables system-level sponsored content
"browser.newtabpage.activity-stream.showSponsoredTopSites" = lock-false; # disables sponsored top sites
"privacy.resistFingerprinting" = lock-true; # spoofs/normalizes fingerprinting signals (screen, timezone, fonts)
"privacy.firstparty.isolate" = lock-true; # isolates cookies/storage per top-level domain (breaks cross-site tracking)
"network.dns.disablePrefetch" = lock-true; # stops speculative DNS lookups for unclicked links
"network.predictor.enabled" = lock-false; # disables ML-based prefetch predictions
"network.prefetch-next" = lock-false; # disables link-hover prefetching
"toolkit.telemetry.enabled" = lock-false; # disables core telemetry reporting
"toolkit.telemetry.unified" = lock-false; # disables unified telemetry pipeline
"datareporting.healthreport.uploadEnabled" = lock-false; # disables Firefox Health Report uploads
"dom.battery.enabled" = lock-false; # blocks Battery Status API fingerprinting
"dom.gamepad.enabled" = lock-false; # blocks Gamepad API fingerprinting
"browser.startup.homepage" = {
Value = "about:blank";
Status = "locked";
};
"browser.startup.page" = {
Value = 0;
Status = "locked";
}; # 0=blank, 3=homepage
"browser.startup.homepage_override.mstone" = {
Value = "ignore";
Status = "locked";
};
# HTTPSonly / mixedcontent
"dom.security.https_only_mode" = {
Value = true;
Status = "locked";
};
"dom.security.https_only_mode_ever_enabled" = {
Value = true;
Status = "locked";
};
# Referrer / headers tightening
"network.http.referer.XOriginPolicy" = {
Value = 2;
Status = "locked";
}; # strict crossorigin
"network.http.referer.XOriginTrimmingPolicy" = {
Value = 2;
Status = "locked";
};
# DNSoverHTTPS (if you want enforced DoH)
"network.trr.mode" = {
Value = 2;
Status = "locked";
}; # 2=prefer TRR
"network.trr.custom_uri" = {
Value = "https://dns.quad9.net/dns-query";
Status = "locked";
};
# Disable various Web APIs that can leak or be abused
"dom.webnotifications.enabled" = lock-false; # disable desktop notifications
"media.navigator.enabled" = lock-false; # disable getUserMedia permission prompts
"media.webrtc.legacy_global_callback" = lock-false;
# Disable geolocation / sensors
"geo.enabled" = lock-false;
"device.sensors.enabled" = lock-false;
};
};
};
};
}

44
modules/firefox/home.nix Normal file
View File

@ -0,0 +1,44 @@
{username, ...}: {
programs.firefox = {
enable = true;
profiles = {
"${username}" = {
extensions.force = true;
#Create multiple containers, like "work" "social media" ..., for cookies to reside in so they dont cross leak
#containers.force = true;
search = {
force = true;
default = "SearXNG";
order = ["SearXNG"];
engines = {
"SearXNG" = {
name = "SearXNG";
urls = [
{
template = "https://searxng.cookiee.org/search";
params = [
{
name = "q";
value = "{searchTerms}";
}
];
}
];
iconMapObj."16" = "https://searxng.cookiee.org/favicon.ico";
definedAliases = ["@sx"];
};
};
};
};
};
};
systemd.user.services."firefox-autostart" = {
serviceConfig = {
ExecStart = "";
ExecStop = "";
};
};
}

View File

@ -1,30 +1,34 @@
# 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")
];
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "uas" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "thunderbolt" "uas" "usbhid" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/af8fdb25-74d8-4b33-8413-bdcb66e0d22a";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/af8fdb25-74d8-4b33-8413-bdcb66e0d22a";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/58D5-0C06";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/58D5-0C06";
fsType = "vfat";
options = ["fmask=0077" "dmask=0077"];
};
swapDevices = [ ];
swapDevices = [];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's

View File

@ -1,25 +1,34 @@
{ 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
# paths it should manage.
home.username = username;
home.homeDirectory = "/home/${username}";
home.packages = [
(import ./ncli.nix { inherit pkgs host project; backupFiles = [
".gtkrc-2.0.backup"
".config/gtk-3.0/gtk.css.backup"
".config/gtk-3.0/settings.ini.backup"
".config/gtk-4.0/gtk.css.backup"
".config/gtk-4.0/settings.ini.backup"
".config/niri/config.kdl"
]; })
(import ./ncli.nix {
inherit pkgs host project;
backupFiles = [
".gtkrc-2.0.backup"
".config/gtk-3.0/gtk.css.backup"
".config/gtk-3.0/settings.ini.backup"
".config/gtk-4.0/gtk.css.backup"
".config/gtk-4.0/settings.ini.backup"
".config/niri/config.kdl"
];
})
];
imports = [
inputs.zen-browser.homeModules.beta
# or inputs.zen-browser.homeModules.twilight
# or inputs.zen-browser.homeModules.twilight-official
#./neovim-home.nix
#./neovim-home.nix
./desktop-entries.nix
];
@ -35,9 +44,8 @@
# Let Home Manager install and manage itself.
programs = {
home-manager = { enable = true; };
home-manager = {enable = true;};
zoxide = {
enable = true;
#enableZshIntegration = true;
@ -56,9 +64,8 @@
};
};
git = {
enable = true;
git = {
enable = true;
settings = {
user = {
name = "Cookiez";
@ -68,75 +75,5 @@
};
};
};
zen-browser = {
enable = false;
#package = inputs.zen-browser.packages.${pkgs.system}.default;
profiles = {
${username} = {
id = 0;
name = username;
# profileAvatarPath = "chrome://browser/content/zen-avatars/avatar-57.svg";
path = "${username}.default";
isDefault = true;
settings = {
};
};
};
policies = {
AutofillAddressEnabled = false;
AutofillCreditCardEnabled = false;
PasswordManagerEnabled = false;
NoDefaultBookmarks = true;
DisableAppUpdate = true;
DisableFirefoxStudies = true;
DontCheckDefaultBrowser = true;
EnableTrackingProtection = {
Value = true;
Locked = true;
Cryptomining = true;
Fingerprinting = true;
};
OfferToSaveLogins = false;
DisplayBookmarksToolbar = "always"; # alternatives: "always" or "newtab"
ExtensionSettings =
with builtins;
let
extension = shortId: uuid: {
name = uuid;
value = {
install_url = "https://addons.mozilla.org/en-US/firefox/downloads/latest/${shortId}/latest.xpi";
installation_mode = "force_installed";
};
};
in
listToAttrs [
(extension "ublock-origin" "uBlock0@raymondhill.net")
(extension "bitwarden-password-manager" "{446900e4-71c2-419f-a6a7-df9c091e268b}")
#(extension "2fas-two-factor-authentication" "admin@2fas.com")
(extension "sponsorblock" "sponsorBlocker@ajay.app")
#(extension "dearrow" "deArrow@ajay.app")
#(extension "enhancer-for-youtube" "enhancerforyoutube@maximerf.addons.mozilla.org")
#(extension "tabliss" "extension@tabliss.io")
#(extension "don-t-fuck-with-paste" "DontFuckWithPaste@raim.ist")
#(extension "clearurls" "{74145f27-f039-47ce-a470-a662b129930a}")
#(extension "react-devtools" "@react-devtools")
(extension "keepa" "amptra@keepa.com")
(extension "redditUntranslate" "reddit-url-redirector@kichkoupi.com")
];
# To add additional extensions, find it on addons.mozilla.org, find
# the short ID in the url (like https=//addons.mozilla.org/en-US/firefox/addon/!SHORT_ID!/)
# Then, download the XPI by filling it in to the install_url template, unzip it,
# run `jq .browser_specific_settings.gecko.id manifest.json` or
# `jq .applications.gecko.id manifest.json` to get the UUID
Preferences = {
#"browser.contentblocking.category" = { Value = "strict"; Status = "locked"; };
"browser.urlbar.showSearchSuggestionsFirst" = false;
"browser.sessionstore.resume_session_once" = false;
};
};
};
}; #End of programs = {};
}

View File

@ -1,14 +1,17 @@
{ config, inputs, pkgs, ... }:
{
config,
inputs,
pkgs,
...
}: {
imports = [
];
home-manager.sharedModules = [
./home.nix
];
environment.systemPackages = with pkgs;
[
environment.systemPackages = with pkgs; [
hyprlock
];
}

View File

@ -1,10 +1,13 @@
{pkgs, inputs, username, ...}:
{
pkgs,
inputs,
username,
...
}: {
imports = [
];
programs = {
hyprlock.enable = true;
hyprlock.enable = true;
};
}

View File

@ -1,14 +1,17 @@
{ config, inputs, pkgs, ... }:
{
config,
inputs,
pkgs,
...
}: {
imports = [
];
home-manager.sharedModules = [
./home.nix
];
environment.systemPackages = with pkgs;
[
environment.systemPackages = with pkgs; [
hyprpaper
];
}

View File

@ -1,13 +1,17 @@
{pkgs, inputs, username, project, ...}:
{
pkgs,
inputs,
username,
project,
...
}: {
imports = [
];
services = {
hyprpaper = {
enable = false;
settings = {
preload = [
#"/home/${username}/${project}/other/wallpaper1.png"

View File

@ -3,17 +3,21 @@
#nmcli device wifi connect <ssid> password <password>
# or if no password (open wifi)
#nmcli device wifi connect <ssid>
{ config, pkgs, lib, username, version, ... }:
{
imports =
[
./hardware-configuration.nix
./zsh.nix
#./ncli.nix
#./neovim.nix
./packages.nix
];
config,
pkgs,
lib,
username,
version,
...
}: {
imports = [
./hardware-configuration.nix
./zsh.nix
#./ncli.nix
#./neovim.nix
./packages.nix
];
#networking.hostName = "nixos";
# Define your hostname.
@ -38,7 +42,7 @@
LC_TELEPHONE = "de_DE.UTF-8";
LC_TIME = "de_DE.UTF-8";
};
services = {
# Enable the OpenSSH daemon.
openssh.enable = true;
@ -51,7 +55,7 @@
users.users.cookiez = {
isNormalUser = true;
description = "Cookiez";
extraGroups = [ "networkmanager" "wheel" "docker" ];
extraGroups = ["networkmanager" "wheel" "docker"];
packages = with pkgs; [
#User Packages Here
];
@ -60,21 +64,21 @@
virtualisation.docker.enable = true;
#So no user in the group Wheel has to input the password in order to use sudo
security.sudo.wheelNeedsPassword = false;
security.sudo.wheelNeedsPassword = false;
#Allow Nix Commands
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.experimental-features = ["nix-command" "flakes"];
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
environment.variables = {
EDITOR = "nvim";
# XKB_DEFAULT_LAYOUT = "de";
EDITOR = "nvim";
# XKB_DEFAULT_LAYOUT = "de";
};
environment.sessionVariables = {
NIXOS_OZONE_WL = "1"; #For chromium to work under wayland and with virtual Keyboards (Only really needed for virtual keyboards, but doest hurt ...)
NIXOS_OZONE_WL = "1"; #For chromium to work under wayland and with virtual Keyboards (Only really needed for virtual keyboards, but doest hurt ...)
TERMINAL = "kitty";
};

View File

@ -1,7 +1,7 @@
{
pkgs,
host,
backupFiles ? [ ".config/mimeapps.list.backup" ],
backupFiles ? [".config/mimeapps.list.backup"],
project,
...
}: let
@ -146,7 +146,7 @@ in
else
echo "No specialization tag found, staying on default system."
fi
genn=$(sudo nix-env --list-generations --profile /nix/var/nix/profiles/system | grep current | awk '{print $1}')
echo -e "Running on new generation: $YELLOW $geno $NOCOLOR-> $GREEN$genn$NOCOLOR"
@ -161,13 +161,64 @@ in
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; }
echo "Updating flake..."
if nix flake update; then
echo " Flake updated successfully"
else
echo " Flake update failed" >&2
exit 1
fi
# --- Selective flake update ---
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"
else
echo " Flake update failed" >&2
exit 1
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=""
@ -261,6 +312,9 @@ in
cd "$HOME/$PROJECT" || { echo "Error: Could not change to $HOME/$PROJECT"; exit 1; }
git status
;;
format)
nix fmt .
;;
trim)
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

View File

@ -1,20 +1,23 @@
{ inputs, config, lib, pkgs, ... }:
{
environment.systemPackages = with pkgs;
[
neovim
vimPlugins.LazyVim
vimPlugins.lazygit-nvim
wl-clipboard
xclip
inputs,
config,
lib,
pkgs,
...
}: {
environment.systemPackages = with pkgs; [
neovim
vimPlugins.LazyVim
vimPlugins.lazygit-nvim
wl-clipboard
xclip
];
home-manager.sharedModules = [
./home.nix
];
# programs.neovim = {
# enable = true;
#};
# programs.neovim = {
# enable = true;
#};
}

View File

@ -1,34 +1,39 @@
{ inputs, config, lib, pkgs, ... }:
{
inputs,
config,
lib,
pkgs,
...
}: {
imports = [
inputs.nixvim.homeModules.nixvim
];
programs.nixvim = {
enable = true;
waylandSupport = true;
# Basic options
opts = {
autoindent = true;
autoindent = true;
clipboard = "unnamedplus";
shiftwidth = 2;
mousescroll = "ver:0,hor:0";
expandtab = true; # Always insert spaces, never hard tab characters
tabstop = 2; # Make hard tabs display as 2 columns (matches shiftwidth)
softtabstop = 2; # Backspace deletes 2 spaces at a time
expandtab = true; # Always insert spaces, never hard tab characters
tabstop = 2; # Make hard tabs display as 2 columns (matches shiftwidth)
softtabstop = 2; # Backspace deletes 2 spaces at a time
number = true;
relativenumber = true;
cursorline = true; # Highlights the entire current line
cursorlineopt = "both"; # Highlights both the line AND the line number
cursorline = true; # Highlights the entire current line
cursorlineopt = "both"; # Highlights both the line AND the line number
termguicolors = true;
};
colorschemes.catppuccin = {
enable = true;
settings = {
@ -36,30 +41,32 @@
term_colors = true;
styles = {
booleans = [ "bold" "italic" ];
conditionals = [ "bold" ];
functions = [ "bold" ];
keywords = [ "italic" ];
booleans = ["bold" "italic"];
conditionals = ["bold"];
functions = ["bold"];
keywords = ["italic"];
};
};
};
keymaps = [
{
mode = "v";
key = ">";
action = ">gv";
options.desc = "Indent and keep selection";
}
{
mode = "v";
key = "<";
action = "<gv";
options.desc = "Unindent and keep selection";
}
];
keymaps = [
{
mode = "v";
key = ">";
action = ">gv";
options.desc = "Indent and keep selection";
}
{
mode = "v";
key = "<";
action = "<gv";
options.desc = "Unindent and keep selection";
}
];
plugins = {
# Remeber where you left the file last time
lastplace.enable = true;
# Statusline at the bottom of the screen
lualine.enable = true;
# Tab bar at the top of the screen
@ -79,7 +86,40 @@
};
};
# Shows the current function/class context pinned at the top of the buffer
treesitter-context.enable = true;
treesitter-context = {
enable = true;
settings = {
# Cap the context header
max_lines = 4;
# When over the limit, drop outermost context
trim_scope = "outer";
# Only show context in tall-enough windows
min_window_height = 20;
};
};
# Provides autocompletion suggestions
blink-cmp = {
enable = true;
settings = {
keymap.preset = "default"; # Tab/S-Tab to navigate, Enter to confirm
sources.default = ["lsp" "path" "snippets" "buffer"];
completion = {
documentation.auto_show = true;
ghost_text.enabled = true; # inline preview of the top suggestion
};
};
};
lsp = {
enable = true;
servers = {
nixd.enable = true; # Nix
ts_ls.enable = true; # TypeScript/JavaScript
# ... add more as needed
};
};
# Text objects based on treesitter nodes (e.g. select a function body)
treesitter-textobjects.enable = true;
# Auto-closes and renames HTML/JSX tags using treesitter
@ -90,24 +130,40 @@
settings = {
indent = {
char = "";
tab_char = ""; # Explicitly define the tab indent guide character
tab_char = ""; # Explicitly define the tab indent guide character
};
scope = {
enabled = true;
};
whitespace = {
remove_blankline_trail = false;
};
whitespace = {
remove_blankline_trail = false;
};
};
};
# Highlights and searches TODO/FIXME/HACK comments
todo-comments.enable = true;
nvim-autopairs = {
enable = true;
settings = {
check_ts = true; # Use treesitter to avoid pairing inside strings/comments
};
};
nvim-autopairs = {
enable = true;
settings = {
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; [
@ -115,8 +171,8 @@
# Additional Lua configuration
extraConfigLua = ''
-- Custom Lua config here
vim.opt.cpoptions:append('I')
'';
-- Custom Lua config here
vim.opt.cpoptions:append('I')
'';
};
}

View File

@ -1,22 +1,27 @@
{config, pkgs, libs, inputs, ...}:
{
config,
pkgs,
libs,
inputs,
...
}: {
environment.systemPackages = with pkgs; [
#CLI tools
pdftk #PDF toolkit
yt-dlp #YouTube and others video downloader
tailscale #VPN
speedtest-cli #Internet speed tester
pdftk #PDF toolkit
yt-dlp #YouTube and others video downloader
tailscale #VPN
speedtest-cli #Internet speed tester
#duplicati
ollama-rocm
open-webui
cloudflare-warp
ddrescue
texliveFull #LaTeX PDF maker
lazygit #Git CLI tool with TUI
gtypist #Typing tutor
powertop #Power consumption monitor and optimizer
file #File type identifier
hashcat #Password recovery/cracking tool
packwiz #A Minecraft modpack editor
texliveFull #LaTeX PDF maker
lazygit #Git CLI tool with TUI
gtypist #Typing tutor
powertop #Power consumption monitor and optimizer
file #File type identifier
hashcat #Password recovery/cracking tool
packwiz #A Minecraft modpack editor
];
}

View File

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

View File

@ -1,57 +1,62 @@
{config, pkgs, libs, inputs, ...}:
{
config,
pkgs,
libs,
inputs,
...
}: {
environment.systemPackages = with pkgs; [
#Programming
jetbrains.pycharm-community #The PyCharm IDE to edit Python code
jetbrains.idea-community #The IntelliJ IDE to edit Java code
jetbrains.clion #The CLion IDE to edit and compile c/c++ code
jetbrains.datagrip #The DataGrip IDE to manage Databases
jetbrains.pycharm #The PyCharm IDE to edit Python code
jetbrains.idea #The IntelliJ IDE to edit Java code
jetbrains.clion #The CLion IDE to edit and compile c/c++ code
jetbrains.datagrip #The DataGrip IDE to manage Databases
#jetbrains-toolbox
#racket #The racket Programming language, with DrRacket IDE, for University (*Not* because it's my favourite)
rustup #Rust Programming Toolchain
rustup #Rust Programming Toolchain
#go #Go Programming Language
gcc #C/C++ Compiler
gcc #C/C++ Compiler
pkg-config
vscode #Editor for all kinds of programms
nodejs_22 #NodeJS for JavaScript programming
vscode #Editor for all kinds of programms
nodejs_22 #NodeJS for JavaScript programming
#Hochschule
postgresql #Database system
dbeaver-bin #Database Management Tool
sqlite #Lightweight Database system
postgresql #Database system
dbeaver-bin #Database Management Tool
sqlite #Lightweight Database system
#Desktop Applications
drawio
ryubing #Nintendo Switch Emulator
vlc #VLC Media Player
lutris #Gaming Platform
mission-center #For a Task Manager like GUI
trayscale #Tailscale unofficial GUI
spotify #Spotify Music Client
rpi-imager #Raspberry Pi Imager
atlauncher #Minecraft Launcher
ryubing #Nintendo Switch Emulator
vlc #VLC Media Player
lutris #Gaming Platform
mission-center #For a Task Manager like GUI
trayscale #Tailscale unofficial GUI
spotify #Spotify Music Client
rpi-imager #Raspberry Pi Imager
atlauncher #Minecraft Launcher
#discord
vesktop #Aternative for discord on Wayland
wineWowPackages.stagingFull
vesktop #Aternative for discord on Wayland
wineWow64Packages.stagingFull
winetricks
wasistlos #Whatsapp
wasistlos #Whatsapp
losslesscut-bin #Lossless cut for quckly cutting videos
#obs-studio #Screen Recorder
gparted #Disk partition Manager
gparted #Disk partition Manager
#rustdesk #Remote Desktop Client
realvnc-vnc-viewer #VNC Remote Desktop Client
eddie #AirVPN desktop client
chromium #Chromium browser for Youtube app to work
moonlight-qt #Game Streaming Client
kitty #Kitty Terminal Emulator
wmctrl #To Force windows into fullscreen
kdePackages.dolphin #KDE File Browser
libreoffice-still #Office Suite
realvnc-vnc-viewer #VNC Remote Desktop Client
eddie #AirVPN desktop client
chromium #Chromium browser for Youtube app to work
moonlight-qt #Game Streaming Client
kitty #Kitty Terminal Emulator
wmctrl #To Force windows into fullscreen
kdePackages.dolphin #KDE File Browser
libreoffice-still #Office Suite
kdePackages.kservice
qbittorrent #Torrent Client
waydroid #Android emulator on Linux
gimp2-with-plugins #Image Editor
kdePackages.filelight #Disk Usage Analyzer
qbittorrent #Torrent Client
waydroid #Android emulator on Linux
gimp2-with-plugins #Image Editor
kdePackages.filelight #Disk Usage Analyzer
filezilla
audacity
freecad

View File

@ -1,43 +1,52 @@
{config, pkgs, libs, inputs, system, alejandra, ...}:
{
config,
pkgs,
libs,
inputs,
system,
alejandra,
...
}: {
environment.systemPackages = with pkgs; [
#Essentials (CLI Only)
wget #A tool for quickly downloading things from the Web
javaPackages.compiler.openjdk25 #Java Development Kit 25
python312 #Python 3.12
python312Packages.pip #Pip for Python 3.12
python312Packages.cmake #The CMake tool to manage project build configurations
fastfetch #A utility to see information about your machine
btop #A replacement for htop to see your machines resources
git #Git ... no need to explain
efibootmgr #A tool to manage UEFI boot entries
zip #A utility for ZIP archives
unzip #A utility for ZIP archives
rar #A utility for RAR archives
gnutar #A utility for .tar archives
cron #A tool to set up commands to run scheduled
tmux #A tool to let command windows contiune to run in the background
home-manager #A package to also edit the user Configuration, like with nix
konsave #A package to transfer the look and feel of KDE Plasma to other machines
openssh #SSH
zoxide #Alternatice to cd, browse files
fzf-zsh #Search for file names
coreutils-full #Full set of coreutils, including some missing ones
wget #A tool for quickly downloading things from the Web
javaPackages.compiler.openjdk25 #Java Development Kit 25
python314 #Python
python314Packages.pip #Pip for Python 3.12
python314Packages.cmake #The CMake tool to manage project build configurations
fastfetch #A utility to see information about your machine
btop #A replacement for htop to see your machines resources
git #Git ... no need to explain
efibootmgr #A tool to manage UEFI boot entries
zip #A utility for ZIP archives
unzip #A utility for ZIP archives
rar #A utility for RAR archives
gnutar #A utility for .tar archives
cron #A tool to set up commands to run scheduled
tmux #A tool to let command windows contiune to run in the background
home-manager #A package to also edit the user Configuration, like with nix
konsave #A package to transfer the look and feel of KDE Plasma to other machines
openssh #SSH
zoxide #Alternatice to cd, browse files
zsh #Search for file names
coreutils-full #Full set of coreutils, including some missing ones
multipath-tools
docker #Docker ... no need to explain
docker-compose #Docker Compose for docker
plymouth #Boot Splash screen
mesa #Graphics drivers
fprintd #Fingerprint reader support
nh
whois #To find out domain information
networkmanagerapplet #For managing network manager connections
zoxide #Alternative to cd, browse files
pocl #Portable OpenCL implementation
clinfo #OpenCL info tool
rocmPackages.rocm-runtime #AMD ROCm runtime
ripgrep #Alternative to grep search for text in files
pipewire #Multimedia handling
docker #Docker ... no need to explain
docker-compose #Docker Compose for docker
plymouth #Boot Splash screen
mesa #Graphics drivers
fprintd #Fingerprint reader support
nh
whois #To find out domain information
networkmanagerapplet #For managing network manager connections
zoxide #Alternative to cd, browse files
pocl #Portable OpenCL implementation
clinfo #OpenCL info tool
rocmPackages.rocm-runtime #AMD ROCm runtime
ripgrep #Alternative to grep search for text in files
pipewire #Multimedia handling
fzf #Needed for nix-selective update tool
jq #Needed for nix-selective update tool
distrobox
dbus
cifs-utils

View File

@ -1,20 +1,26 @@
{config, pkgs, libs, inputs, nix-flatpak, ...}:
{
services.flatpak = {
enable = true;
config,
pkgs,
libs,
inputs,
nix-flatpak,
...
}: {
services.flatpak = {
enable = true;
remotes = [
{
name = "flathub";
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
}
];
packages = [
{
appId = "org.vinegarhq.Sober";
origin = "flathub";
#commit = "e28fd81675b0871614ccdc8fc66c6da6761dd11333a65900a0451edf07ef0ea6";
}
];
};
remotes = [
{
name = "flathub";
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
}
];
packages = [
{
appId = "org.vinegarhq.Sober";
origin = "flathub";
#commit = "e28fd81675b0871614ccdc8fc66c6da6761dd11333a65900a0451edf07ef0ea6";
}
];
};
}

View File

@ -1,8 +1,10 @@
{ pkgs, inputs, username, ... }:
{
imports =
[
pkgs,
inputs,
username,
...
}: {
imports = [
inputs.stylix.nixosModules.stylix
];
@ -12,7 +14,7 @@
stylix = {
enable = true;
autoEnable = false; #So I can choose my programs it targets myself!
autoEnable = false; #So I can choose my programs it targets myself!
#image = ../../other/wallpaper2.png;
#autoEnable = true; #Auto generate theme based on wallpaper
base16Scheme = "${pkgs.base16-schemes}/share/themes/dracula.yaml";
@ -39,7 +41,7 @@
targets = {
plymouth.enable = true;
plymouth.logoAnimated = true;
console.enable = true; #Default console without desktop environment! (NOT KITTY!)
console.enable = true; #Default console without desktop environment! (NOT KITTY!)
grub.enable = false;
#qt.enable = false;
};

View File

@ -1,12 +1,15 @@
{pkgs, inputs, username, ...}:
{
pkgs,
inputs,
username,
...
}: {
imports = [
];
services = {
};
stylix = {
targets = {
kitty.enable = false;
@ -18,7 +21,6 @@
qt.enable = true;
qt.platform = "kde";
#kde.enable = false;
zen-browser.profileNames = [ "${username}" ];
};
};
}

View File

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

View File

@ -1,15 +1,21 @@
{ config, pkgs, username, project, ... }: {
{
config,
pkgs,
username,
project,
...
}: {
programs.zsh = {
enable = true;
enableCompletion = false;
autosuggestions = {
enable = true;
highlightStyle = "fg=242"; # Lighter gray shadow (0-255 scale)
highlightStyle = "fg=242"; # Lighter gray shadow (0-255 scale)
};
ohMyZsh = {
enable = true;
plugins = [ "git" ];
plugins = ["git"];
};
shellInit = ''
@ -17,9 +23,8 @@
eval "$(${pkgs.zoxide}/bin/zoxide init zsh --cmd cd)"
'';
#To reset powerlevel10k, write 'p10k configure' in shell!
#To reset powerlevel10k, write 'p10k configure' in shell!
promptInit = ''
source ${pkgs.zsh-autocomplete}/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
# Make and move the cursor on the command line, even when in the menu
@ -27,7 +32,7 @@
bindkey -M menuselect '^[[C' .forward-char '^[OC' .forward-char
'';
};
users.users.cookiez.shell = pkgs.zsh;
environment.systemPackages = [
pkgs.oh-my-zsh
@ -35,7 +40,6 @@
pkgs.zsh-completions
pkgs.zsh-powerlevel10k
pkgs.zsh-syntax-highlighting
pkgs.zsh-autocomplete
pkgs.zsh-autosuggestions
];
}

View File

@ -1,17 +1,21 @@
{ config, pkgs, username, project, ... }:
{
#To show logs of services run:
#journalctl --user-unit={service-name} --user
config,
pkgs,
username,
project,
...
}: {
#To show logs of services run:
#journalctl --user-unit={service-name} --user
systemd.user.services.niri-waybar = {
description = "Waybar status bar for Niri";
# "wantedBy" replaces the [Install] section
wantedBy = [ "graphical-session.target" ];
wantedBy = ["graphical-session.target"];
# "partOf" and "after" replace the [Unit] section dependencies
partOf = [ "graphical-session.target" ];
after = [ "graphical-session.target" ];
partOf = ["graphical-session.target"];
after = ["graphical-session.target"];
# [Unit] configuration goes here
unitConfig = {
@ -32,9 +36,9 @@
# it forcibly stops the graphical-session.target to ensure a clean state for the next login.
systemd.user.services.niri-session-manager = {
description = "Niri Session Management";
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
wantedBy = ["graphical-session.target"];
partOf = ["graphical-session.target"];
# Only run this cleanup logic for Niri
unitConfig.ConditionEnvironment = "XDG_CURRENT_DESKTOP=niri";
@ -42,7 +46,7 @@
Type = "simple";
# A dummy command that stays alive. 'sleep infinity' is low resource.
ExecStart = "${pkgs.coreutils}/bin/sleep infinity";
# IMPORTANT: When this service stops (which happens when niri kills its children),
# it brings down the whole target.
ExecStopPost = "${pkgs.systemd}/bin/systemctl --user stop graphical-session.target";

View File

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

View File

@ -1,6 +1,8 @@
{pkgs, inputs, ...}:
{
pkgs,
inputs,
...
}: {
imports = [
inputs.niri.homeModules.niri
../modules/waybar/home.nix
@ -15,19 +17,19 @@
package = pkgs.niri;
enable = true;
#xwayland.enable = true;
# config = ''
# binds {
# Super+Return { spawn "kitty"; }
# Super+Space { spawn "fuzzel"; }
# Super+Q { close-window; }
# Super+Left { focus-column-left; }
# Super+Right { focus-column-right; }
# Super+Up { focus-workspace-up; }
# Super+Down { focus-workspace-down; }
# Super+L { spawn "hyprlock"; }
# Super+Shift+E { "quit"; }
# }
# '';
# config = ''
# binds {
# Super+Return { spawn "kitty"; }
# Super+Space { spawn "fuzzel"; }
# Super+Q { close-window; }
# Super+Left { focus-column-left; }
# Super+Right { focus-column-right; }
# Super+Up { focus-workspace-up; }
# Super+Down { focus-workspace-down; }
# Super+L { spawn "hyprlock"; }
# Super+Shift+E { "quit"; }
# }
# '';
config = ''
input {
keyboard {

View File

@ -8,6 +8,7 @@
#-----
alias py="python3"
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 please="sudo"
alias se="sudoedit"
@ -25,7 +26,8 @@ alias nix-clear="sudo nix-store --gc"
#KDE Plasma Specific
#-----
alias kde-theme-apply="source $HOME/NixOS/plasma/konsave.sh"
alias plasma-snap="cp ~/.config/plasma-org.kde.plasma.desktop-appletsrc ~/appletsrc.snap"
alias plasma-diff="diff ~/appletsrc.snap ~/.config/plasma-org.kde.plasma.desktop-appletsrc"
#LaTeX Commands
alias makepdf="makeglossaries main && pdflatex main.tex"

View File

@ -1,34 +1,38 @@
{ config, pkgs, username, project, ... }:
{
#To show logs of services run: journalctl --user-unit={service-name} --user
systemd.user.services.autostart-yakuake = {
enable = true;
description = "Automatically start Yakuake";
after = [ "graphical-session.target" ];
wantedBy = [ "graphical-session.target" ];
serviceConfig = {
ExecStart = [ "${pkgs.kdePackages.yakuake}/bin/yakuake" ];
config,
pkgs,
username,
project,
...
}: {
#To show logs of services run: journalctl --user-unit={service-name} --user
Type = "oneshot";
Restart = "on-failure";
RestartSec = "5s";
Environment = "PATH=/run/current-system/sw/bin:/etc/profiles/per-user/$USER/bin";
};
systemd.user.services.autostart-yakuake = {
enable = true;
description = "Automatically start Yakuake";
after = ["graphical-session.target"];
wantedBy = ["graphical-session.target"];
serviceConfig = {
ExecStart = ["${pkgs.kdePackages.yakuake}/bin/yakuake"];
Type = "oneshot";
Restart = "on-failure";
RestartSec = "5s";
Environment = "PATH=/run/current-system/sw/bin:/etc/profiles/per-user/$USER/bin";
};
};
systemd.user.services.autostart-trayscale = {
enable = true;
description = "Automatically start Trayscale";
#after = [ "plasma-desktop.service" ];
wantedBy = [ "default.target" ];
serviceConfig = {
ExecStart = [ "${pkgs.trayscale}/bin/trayscale --hide-window" ];
enable = true;
description = "Automatically start Trayscale";
#after = [ "plasma-desktop.service" ];
wantedBy = ["default.target"];
serviceConfig = {
ExecStart = ["${pkgs.trayscale}/bin/trayscale --hide-window"];
Type = "oneshot";
Restart = "on-failure";
RestartSec = "5s";
};
Type = "oneshot";
Restart = "on-failure";
RestartSec = "5s";
};
};
}

View File

@ -1,26 +1,29 @@
{config, pkgs, username, project, ...}:
let
{
config,
pkgs,
username,
project,
...
}: let
# Define the custom background package with the correct relative path
background-package = pkgs.stdenvNoCC.mkDerivation {
name = "background-image";
src = ../other/wallpaper4.png; # Place wallpaper.jpg in the same directory as this config file
src = ../other/wallpaper4.png; # Place wallpaper.jpg in the same directory as this config file
dontUnpack = true;
installPhase = ''
cp $src $out
'';
};
plasmaTheme = "desktop"; #Possible values are "laptop" or "desktop"
powerProfile = "laptop"; #Possible values are "laptop" or "desktop"
in
{
imports =
[
plasmaTheme = "desktop"; #Possible values are "laptop" or "desktop"
powerProfile = "laptop"; #Possible values are "laptop" or "desktop"
in {
imports = [
./autostart.nix
../modules/stylix
];
# Pass the variable to home-manager
# Pass the variable to home-manager
home-manager.extraSpecialArgs = {
inherit plasmaTheme powerProfile;
};
@ -40,7 +43,7 @@ in
services = {
xserver = {
enable = true;
videoDrivers = [ "amdgpu" ];
videoDrivers = ["amdgpu"];
xkb = {
layout = "de";
@ -52,7 +55,7 @@ in
xterm.enable = false;
};
excludePackages = [ pkgs.xterm ];
excludePackages = [pkgs.xterm];
## Enable sound with pipewire.
#services.pulseaudio.enable = false;
};
@ -61,7 +64,7 @@ in
sddm = {
enable = true;
theme = "breeze";
wayland.enable = true;
wayland.enable = true;
};
};
@ -72,10 +75,9 @@ in
system.activationScripts.script.text = ''
source /home/${username}/${project}/other/colors.sh
source /home/${username}/${project}/other/pfp.sh
'';
'';
environment = {
plasma6.excludePackages = with pkgs; [
kdePackages.elisa
];
@ -84,15 +86,15 @@ in
(pkgs.writeTextDir "share/sddm/themes/breeze/theme.conf.user" ''
[General]
background = "${background-package}"
'') #Custom SDDM theme with background image
'') #Custom SDDM theme with background image
kdePackages.plymouth-kcm
xdg-desktop-portal
kdePackages.xdg-desktop-portal-kde
kdePackages.plasma-workspace
kdePackages.kdialog
kdePackages.yakuake #Drop down Terminal
kdePackages.bluez-qt #Bluetooth management for KDE Plasma
kdePackages.kconfig #To Get infos about the current config, such as themes
kdePackages.yakuake #Drop down Terminal
kdePackages.bluez-qt #Bluetooth management for KDE Plasma
kdePackages.kconfig #To Get infos about the current config, such as themes
];
};
}

View File

@ -1,10 +1,17 @@
{pkgs, lib, inputs, username, project, plasmaTheme, ...}:
{
imports = [
./settings/common.nix
./settings/powerProfile.nix
]
++ lib.optionals (plasmaTheme == "laptop") [ ./settings/laptop.nix ]
++ lib.optionals (plasmaTheme == "desktop") [ ./settings/desktop.nix ];
pkgs,
lib,
inputs,
username,
project,
plasmaTheme,
...
}: {
imports =
[
./settings/common.nix
./settings/powerProfile.nix
]
++ lib.optionals (plasmaTheme == "laptop") [./settings/laptop.nix]
++ lib.optionals (plasmaTheme == "desktop") [./settings/desktop.nix];
}

View File

@ -1,389 +1,415 @@
{pkgs, inputs, username, project, plasmaTheme, ...}:
{
pkgs,
inputs,
username,
project,
plasmaTheme,
...
}: {
programs = {
plasma = {
enable = true;
overrideConfig = true;
overrideConfig = false;
input.mice = [
{
name = "Logitech Wireless Mouse";
vendorId = "046d"; # 046D lowercase
productId = "4091"; # inner HID device, not the receiver (C534)
leftHanded = false;
#middleButtonEmulation = false;
#naturalScroll = false;
acceleration = -0.25;
accelerationProfile = "none";
scrollSpeed = 1.0;
}
{
name = "Logitech Wireless Mouse";
vendorId = "046d"; # 046D lowercase
productId = "4091"; # inner HID device, not the receiver (C534)
leftHanded = false;
#middleButtonEmulation = false;
#naturalScroll = false;
#acceleration = -0.25;
acceleration = 0;
accelerationProfile = "none";
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 = {
# ActivityManager = {
# switch-to-activity-0f8d8349-5b1b-4b77-bfa5-22829bfaf459 = [ ];
# switch-to-activity-7dbb43d7-7e06-4b20-907c-a1dbf4afe6c7 = [ ];
# switch-to-activity-e85f493f-046d-4dca-9e07-987ecd4ca4bc = [ ];
# };
#ActivityManager = {
# switch-to-activity-0f8d8349-5b1b-4b77-bfa5-22829bfaf459 = [ ];
# switch-to-activity-7dbb43d7-7e06-4b20-907c-a1dbf4afe6c7 = [ ];
# switch-to-activity-e85f493f-046d-4dca-9e07-987ecd4ca4bc = [ ];
#};
"KDE Keyboard Layout Switcher" = {
"Switch keyboard layout to English (US)" = [ ];
"Switch keyboard layout to German" = [ ];
"Switch to Last-Used Keyboard Layout" = [ ];
"Switch to Next Keyboard Layout" = [ ];
"Switch keyboard layout to English (US)" = [];
"Switch keyboard layout to German" = [];
"Switch to Last-Used Keyboard Layout" = [];
"Switch to Next Keyboard Layout" = [];
};
# kaccess."Toggle Screen Reader On and Off" = "Meta+Alt+S";
# kcm_touchpad."Disable Touchpad" = "Touchpad Off";
# kcm_touchpad."Enable Touchpad" = "Touchpad On";
# kcm_touchpad."Toggle Touchpad" = ["Touchpad Toggle" "Meta+Ctrl+Zenkaku Hankaku"];
# kmix = {
# decrease_microphone_volume = "Microphone Volume Down";
# decrease_volume = "Volume Down";
# decrease_volume_small = "Shift+Volume Down";
# increase_microphone_volume = "Microphone Volume Up";
# increase_volume = "Volume Up";
# increase_volume_small = "Shift+Volume Up";
# mic_mute = ["Microphone Mute" "Meta+Volume Mute"];
# mute = "Volume Mute";
# };
# kmserver = {
# "Halt Without Confirmation" = [ ];
# "Lock Session" = ["Meta+L" "Screensaver"];
# "Log Out" = "Ctrl+Alt+Del";
# "Log Out Without Confirmation" = [ ];
# LogOut = [ ];
# Reboot = [ ];
# "Reboot Without Confirmation" = [ ];
# "Shut Down" = [ ];
# };
#kaccess."Toggle Screen Reader On and Off" = "Meta+Alt+S";
#kcm_touchpad."Disable Touchpad" = "Touchpad Off";
#kcm_touchpad."Enable Touchpad" = "Touchpad On";
#kcm_touchpad."Toggle Touchpad" = ["Touchpad Toggle" "Meta+Ctrl+Zenkaku Hankaku"];
#kmix = {
# decrease_microphone_volume = "Microphone Volume Down";
# decrease_volume = "Volume Down";
# decrease_volume_small = "Shift+Volume Down";
# increase_microphone_volume = "Microphone Volume Up";
# increase_volume = "Volume Up";
# increase_volume_small = "Shift+Volume Up";
# mic_mute = ["Microphone Mute" "Meta+Volume Mute"];
# mute = "Volume Mute";
#};
#kmserver = {
# "Halt Without Confirmation" = [ ];
# "Lock Session" = ["Meta+L" "Screensaver"];
# "Log Out" = "Ctrl+Alt+Del";
# "Log Out Without Confirmation" = [ ];
# LogOut = [ ];
# Reboot = [ ];
# "Reboot Without Confirmation" = [ ];
# "Shut Down" = [ ];
#};
kwin = {
# "Activate Window Demanding Attention" = "Meta+Ctrl+A";
# "Activate Window Demanding Attention" = "Meta+Ctrl+A";
Cube = "Meta+C";
# "Cycle Overview" = [ ];
# "Cycle Overview Opposite" = [ ];
# "Decrease Opacity" = [ ];
# "Edit Tiles" = "Meta+T";
# Expose = "Ctrl+F9";
# ExposeAll = ["Ctrl+F10" "Launch (C)"];
# ExposeClass = "Ctrl+F7";
# ExposeClassCurrentDesktop = [ ];
# "Cycle Overview" = [ ];
# "Cycle Overview Opposite" = [ ];
# "Decrease Opacity" = [ ];
# "Edit Tiles" = "Meta+T";
# Expose = "Ctrl+F9";
# ExposeAll = ["Ctrl+F10" "Launch (C)"];
# ExposeClass = "Ctrl+F7";
# ExposeClassCurrentDesktop = [ ];
"Grid View" = "Meta+G";
# "Increase Opacity" = [ ];
# "Kill Window" = "Meta+Ctrl+Esc";
# "Move Tablet to Next Output" = [ ];
# MoveMouseToCenter = "Meta+F6";
# MoveMouseToFocus = "Meta+F5";
# MoveZoomDown = [ ];
# MoveZoomLeft = [ ];
# MoveZoomRight = [ ];
# MoveZoomUp = [ ];
# Overview = "Meta+W";
# "Setup Window Shortcut" = [ ];
# "Show Desktop" = "Meta+D";
# "Suspend Compositing" = "Alt+Shift+F12";
# "Increase Opacity" = [ ];
# "Kill Window" = "Meta+Ctrl+Esc";
# "Move Tablet to Next Output" = [ ];
# MoveMouseToCenter = "Meta+F6";
# MoveMouseToFocus = "Meta+F5";
# MoveZoomDown = [ ];
# MoveZoomLeft = [ ];
# MoveZoomRight = [ ];
# MoveZoomUp = [ ];
# Overview = "Meta+W";
# "Setup Window Shortcut" = [ ];
# "Show Desktop" = "Meta+D";
# "Suspend Compositing" = "Alt+Shift+F12";
"Switch One Desktop Down" = "Meta+Ctrl+Down";
"Switch One Desktop Up" = "Meta+Ctrl+Up";
"Switch One Desktop to the Left" = "Meta+Ctrl+Left";
"Switch One Desktop to the Right" = "Meta+Ctrl+Right";
# "Switch Window Down" = "Meta+Alt+Down";
# "Switch Window Left" = "Meta+Alt+Left";
# "Switch Window Right" = "Meta+Alt+Right";
# "Switch Window Up" = "Meta+Alt+Up";
# "Switch to Desktop 1" = "Ctrl+F1";
# "Switch to Desktop 10" = [ ];
# "Switch to Desktop 11" = [ ];
# "Switch to Desktop 12" = [ ];
# "Switch to Desktop 13" = [ ];
# "Switch to Desktop 14" = [ ];
# "Switch to Desktop 15" = [ ];
# "Switch to Desktop 16" = [ ];
# "Switch to Desktop 17" = [ ];
# "Switch to Desktop 18" = [ ];
# "Switch to Desktop 19" = [ ];
# "Switch to Desktop 2" = "Ctrl+F2";
# "Switch to Desktop 20" = [ ];
# "Switch to Desktop 3" = "Ctrl+F3";
# "Switch to Desktop 4" = "Ctrl+F4";
# "Switch to Desktop 5" = [ ];
# "Switch to Desktop 6" = [ ];
# "Switch to Desktop 7" = [ ];
# "Switch to Desktop 8" = [ ];
# "Switch to Desktop 9" = [ ];
# "Switch to Next Desktop" = [ ];
# "Switch to Next Screen" = [ ];
# "Switch to Previous Desktop" = [ ];
# "Switch to Previous Screen" = [ ];
# "Switch to Screen 0" = [ ];
# "Switch to Screen 1" = [ ];
# "Switch to Screen 2" = [ ];
# "Switch to Screen 3" = [ ];
# "Switch to Screen 4" = [ ];
# "Switch to Screen 5" = [ ];
# "Switch to Screen 6" = [ ];
# "Switch to Screen 7" = [ ];
# "Switch to Screen Above" = [ ];
# "Switch to Screen Below" = [ ];
# "Switch to Screen to the Left" = [ ];
# "Switch to Screen to the Right" = [ ];
# "Toggle Night Color" = [ ];
# "Toggle Window Raise/Lower" = [ ];
# "Walk Through Windows" = "Alt+Tab";
# "Walk Through Windows (Reverse)" = "Alt+Shift+Tab";
# "Walk Through Windows Alternative" = [ ];
# "Walk Through Windows Alternative (Reverse)" = [ ];
# "Walk Through Windows of Current Application" = "Alt+`";
# "Walk Through Windows of Current Application (Reverse)" = "Alt+~";
# "Walk Through Windows of Current Application Alternative" = [ ];
# "Walk Through Windows of Current Application Alternative (Reverse)" = [ ];
# "Window Above Other Windows" = [ ];
# "Window Below Other Windows" = [ ];
# "Switch Window Down" = "Meta+Alt+Down";
# "Switch Window Left" = "Meta+Alt+Left";
# "Switch Window Right" = "Meta+Alt+Right";
# "Switch Window Up" = "Meta+Alt+Up";
# "Switch to Desktop 1" = "Ctrl+F1";
# "Switch to Desktop 10" = [ ];
# "Switch to Desktop 11" = [ ];
# "Switch to Desktop 12" = [ ];
# "Switch to Desktop 13" = [ ];
# "Switch to Desktop 14" = [ ];
# "Switch to Desktop 15" = [ ];
# "Switch to Desktop 16" = [ ];
# "Switch to Desktop 17" = [ ];
# "Switch to Desktop 18" = [ ];
# "Switch to Desktop 19" = [ ];
# "Switch to Desktop 2" = "Ctrl+F2";
# "Switch to Desktop 20" = [ ];
# "Switch to Desktop 3" = "Ctrl+F3";
# "Switch to Desktop 4" = "Ctrl+F4";
# "Switch to Desktop 5" = [ ];
# "Switch to Desktop 6" = [ ];
# "Switch to Desktop 7" = [ ];
# "Switch to Desktop 8" = [ ];
# "Switch to Desktop 9" = [ ];
# "Switch to Next Desktop" = [ ];
# "Switch to Next Screen" = [ ];
# "Switch to Previous Desktop" = [ ];
# "Switch to Previous Screen" = [ ];
# "Switch to Screen 0" = [ ];
# "Switch to Screen 1" = [ ];
# "Switch to Screen 2" = [ ];
# "Switch to Screen 3" = [ ];
# "Switch to Screen 4" = [ ];
# "Switch to Screen 5" = [ ];
# "Switch to Screen 6" = [ ];
# "Switch to Screen 7" = [ ];
# "Switch to Screen Above" = [ ];
# "Switch to Screen Below" = [ ];
# "Switch to Screen to the Left" = [ ];
# "Switch to Screen to the Right" = [ ];
# "Toggle Night Color" = [ ];
# "Toggle Window Raise/Lower" = [ ];
# "Walk Through Windows" = "Alt+Tab";
# "Walk Through Windows (Reverse)" = "Alt+Shift+Tab";
# "Walk Through Windows Alternative" = [ ];
# "Walk Through Windows Alternative (Reverse)" = [ ];
# "Walk Through Windows of Current Application" = "Alt+`";
# "Walk Through Windows of Current Application (Reverse)" = "Alt+~";
# "Walk Through Windows of Current Application Alternative" = [ ];
# "Walk Through Windows of Current Application Alternative (Reverse)" = [ ];
# "Window Above Other Windows" = [ ];
# "Window Below Other Windows" = [ ];
"Window Close" = "Alt+F4";
# "Window Custom Quick Tile Bottom" = [ ];
# "Window Custom Quick Tile Left" = [ ];
# "Window Custom Quick Tile Right" = [ ];
# "Window Custom Quick Tile Top" = [ ];
# "Window Custom Quick Tile Bottom" = [ ];
# "Window Custom Quick Tile Left" = [ ];
# "Window Custom Quick Tile Right" = [ ];
# "Window Custom Quick Tile Top" = [ ];
"Window Fullscreen" = "Meta+Shift+F";
# "Window Grow Horizontal" = [ ];
# "Window Grow Vertical" = [ ];
# "Window Lower" = [ ];
# "Window Grow Horizontal" = [ ];
# "Window Grow Vertical" = [ ];
# "Window Lower" = [ ];
"Window Maximize" = ["Meta+F" "Meta+PgUp"];
# "Window Maximize Horizontal" = [ ];
# "Window Maximize Vertical" = [ ];
# "Window Minimize" = "Meta+PgDown";
# "Window Move" = [ ];
# "Window Move Center" = [ ];
# "Window No Border" = [ ];
# "Window On All Desktops" = [ ];
# "Window Maximize Horizontal" = [ ];
# "Window Maximize Vertical" = [ ];
# "Window Minimize" = "Meta+PgDown";
# "Window Move" = [ ];
# "Window Move Center" = [ ];
# "Window No Border" = [ ];
# "Window On All Desktops" = [ ];
"Window One Desktop Down" = "Meta+Ctrl+Shift+Down";
"Window One Desktop Up" = "Meta+Ctrl+Shift+Up";
"Window One Desktop to the Left" = "Meta+Ctrl+Shift+Left";
"Window One Desktop to the Right" = "Meta+Ctrl+Shift+Right";
# "Window One Screen Down" = [ ];
# "Window One Screen Up" = [ ];
# "Window One Screen to the Left" = [ ];
# "Window One Screen to the Right" = [ ];
# "Window Operations Menu" = "Alt+F3";
# "Window Pack Down" = [ ];
# "Window Pack Left" = [ ];
# "Window Pack Right" = [ ];
# "Window Pack Up" = [ ];
# "Window Quick Tile Bottom" = "Meta+Down";
# "Window Quick Tile Bottom Left" = [ ];
# "Window Quick Tile Bottom Right" = [ ];
# "Window Quick Tile Left" = "Meta+Left";
# "Window Quick Tile Right" = "Meta+Right";
# "Window Quick Tile Top" = "Meta+Up";
# "Window Quick Tile Top Left" = [ ];
# "Window Quick Tile Top Right" = [ ];
# "Window Raise" = [ ];
# "Window Resize" = [ ];
# "Window Shade" = [ ];
# "Window Shrink Horizontal" = [ ];
# "Window Shrink Vertical" = [ ];
# "Window to Desktop 1" = [ ];
# "Window to Desktop 10" = [ ];
# "Window to Desktop 11" = [ ];
# "Window to Desktop 12" = [ ];
# "Window to Desktop 13" = [ ];
# "Window to Desktop 14" = [ ];
# "Window to Desktop 15" = [ ];
# "Window to Desktop 16" = [ ];
# "Window to Desktop 17" = [ ];
# "Window to Desktop 18" = [ ];
# "Window to Desktop 19" = [ ];
# "Window to Desktop 2" = [ ];
# "Window to Desktop 20" = [ ];
# "Window to Desktop 3" = [ ];
# "Window to Desktop 4" = [ ];
# "Window to Desktop 5" = [ ];
# "Window to Desktop 6" = [ ];
# "Window to Desktop 7" = [ ];
# "Window to Desktop 8" = [ ];
# "Window to Desktop 9" = [ ];
# "Window to Next Desktop" = [ ];
# "Window to Next Screen" = "Meta+Shift+Right";
# "Window to Previous Desktop" = [ ];
# "Window to Previous Screen" = "Meta+Shift+Left";
# "Window to Screen 0" = [ ];
# "Window to Screen 1" = [ ];
# "Window to Screen 2" = [ ];
# "Window to Screen 3" = [ ];
# "Window to Screen 4" = [ ];
# "Window to Screen 5" = [ ];
# "Window to Screen 6" = [ ];
# "Window to Screen 7" = [ ];
# disableInputCapture = "Meta+Shift+Esc";
# view_actual_size = "Meta+0";
# view_zoom_in = ["Meta++" "Meta+="];
# view_zoom_out = "Meta+-";
# "Window One Screen Down" = [ ];
# "Window One Screen Up" = [ ];
# "Window One Screen to the Left" = [ ];
# "Window One Screen to the Right" = [ ];
# "Window Operations Menu" = "Alt+F3";
# "Window Pack Down" = [ ];
# "Window Pack Left" = [ ];
# "Window Pack Right" = [ ];
# "Window Pack Up" = [ ];
# "Window Quick Tile Bottom" = "Meta+Down";
# "Window Quick Tile Bottom Left" = [ ];
# "Window Quick Tile Bottom Right" = [ ];
# "Window Quick Tile Left" = "Meta+Left";
# "Window Quick Tile Right" = "Meta+Right";
# "Window Quick Tile Top" = "Meta+Up";
# "Window Quick Tile Top Left" = [ ];
# "Window Quick Tile Top Right" = [ ];
# "Window Raise" = [ ];
# "Window Resize" = [ ];
# "Window Shade" = [ ];
# "Window Shrink Horizontal" = [ ];
# "Window Shrink Vertical" = [ ];
# "Window to Desktop 1" = [ ];
# "Window to Desktop 10" = [ ];
# "Window to Desktop 11" = [ ];
# "Window to Desktop 12" = [ ];
# "Window to Desktop 13" = [ ];
# "Window to Desktop 14" = [ ];
# "Window to Desktop 15" = [ ];
# "Window to Desktop 16" = [ ];
# "Window to Desktop 17" = [ ];
# "Window to Desktop 18" = [ ];
# "Window to Desktop 19" = [ ];
# "Window to Desktop 2" = [ ];
# "Window to Desktop 20" = [ ];
# "Window to Desktop 3" = [ ];
# "Window to Desktop 4" = [ ];
# "Window to Desktop 5" = [ ];
# "Window to Desktop 6" = [ ];
# "Window to Desktop 7" = [ ];
# "Window to Desktop 8" = [ ];
# "Window to Desktop 9" = [ ];
# "Window to Next Desktop" = [ ];
# "Window to Next Screen" = "Meta+Shift+Right";
# "Window to Previous Desktop" = [ ];
# "Window to Previous Screen" = "Meta+Shift+Left";
# "Window to Screen 0" = [ ];
# "Window to Screen 1" = [ ];
# "Window to Screen 2" = [ ];
# "Window to Screen 3" = [ ];
# "Window to Screen 4" = [ ];
# "Window to Screen 5" = [ ];
# "Window to Screen 6" = [ ];
# "Window to Screen 7" = [ ];
# disableInputCapture = "Meta+Shift+Esc";
# view_actual_size = "Meta+0";
# view_zoom_in = ["Meta++" "Meta+="];
# view_zoom_out = "Meta+-";
};
# mediacontrol = {
# mediacontrol.mediavolumedown = [ ];
# mediacontrol.mediavolumeup = [ ];
# mediacontrol.nextmedia = "Media Next";
# mediacontrol.pausemedia = "Media Pause";
# mediacontrol.playmedia = [ ];
# mediacontrol.playpausemedia = "Media Play";
# mediacontrol.previousmedia = "Media Previous";
# mediacontrol.stopmedia = "Media Stop";
# };
#mediacontrol = {
#mediacontrol.mediavolumedown = [ ];
#mediacontrol.mediavolumeup = [ ];
#mediacontrol.nextmedia = "Media Next";
#mediacontrol.pausemedia = "Media Pause";
#mediacontrol.playmedia = [ ];
#mediacontrol.playpausemedia = "Media Play";
#mediacontrol.previousmedia = "Media Previous";
#mediacontrol.stopmedia = "Media Stop";
#};
org_kde_powerdevil = {
# "Decrease Keyboard Brightness" = "Keyboard Brightness Down";
# "Decrease Screen Brightness" = "Monitor Brightness Down";
# "Decrease Screen Brightness Small" = "Shift+Monitor Brightness Down";
# Hibernate = "Hibernate";
# "Increase Keyboard Brightness" = "Keyboard Brightness Up";
# "Increase Screen Brightness" = "Monitor Brightness Up";
# "Increase Screen Brightness Small" = "Shift+Monitor Brightness Up";
# PowerDown = "Power Down";
# PowerOff = "Power Off";
# Sleep = "Sleep";
# "Toggle Keyboard Backlight" = "Keyboard Light On/Off";
# "Turn Off Screen" = [ ];
# "Decrease Keyboard Brightness" = "Keyboard Brightness Down";
# "Decrease Screen Brightness" = "Monitor Brightness Down";
# "Decrease Screen Brightness Small" = "Shift+Monitor Brightness Down";
# Hibernate = "Hibernate";
# "Increase Keyboard Brightness" = "Keyboard Brightness Up";
# "Increase Screen Brightness" = "Monitor Brightness Up";
# "Increase Screen Brightness Small" = "Shift+Monitor Brightness Up";
# PowerDown = "Power Down";
# PowerOff = "Power Off";
# Sleep = "Sleep";
# "Toggle Keyboard Backlight" = "Keyboard Light On/Off";
# "Turn Off Screen" = [ ];
powerProfile = ["Battery" "Meta+B"];
};
plasmashell = {
"activate application launcher" = "Meta";
# "activate task manager entry 1" = "Meta+1";
# "activate task manager entry 10" = [ ];
# "activate task manager entry 2" = "Meta+2";
# "activate task manager entry 3" = "Meta+3";
# "activate task manager entry 4" = "Meta+4";
# "activate task manager entry 5" = "Meta+5";
# "activate task manager entry 6" = "Meta+6";
# "activate task manager entry 7" = "Meta+7";
# "activate task manager entry 8" = "Meta+8";
# "activate task manager entry 9" = "Meta+9";
# clear-history = [ ];
# clipboard_action = "Meta+Ctrl+X";
# cycle-panels = "Meta+Alt+P";
# cycleNextAction = [ ];
# cyclePrevAction = [ ];
# "manage activities" = "Meta+Q";
# "next activity" = "Meta+A";
# "previous activity" = "Meta+Shift+A";
# repeat_action = "Meta+Ctrl+R";
# "show dashboard" = "Ctrl+F12";
# show-barcode = [ ];
# show-on-mouse-pos = "Meta+V";
# "stop current activity" = "Meta+S";
# "switch to next activity" = [ ];
# "switch to previous activity" = [ ];
# "toggle do not disturb" = [ ];
# "activate task manager entry 1" = "Meta+1";
# "activate task manager entry 10" = [ ];
# "activate task manager entry 2" = "Meta+2";
# "activate task manager entry 3" = "Meta+3";
# "activate task manager entry 4" = "Meta+4";
# "activate task manager entry 5" = "Meta+5";
# "activate task manager entry 6" = "Meta+6";
# "activate task manager entry 7" = "Meta+7";
# "activate task manager entry 8" = "Meta+8";
# "activate task manager entry 9" = "Meta+9";
# clear-history = [ ];
# clipboard_action = "Meta+Ctrl+X";
# cycle-panels = "Meta+Alt+P";
# cycleNextAction = [ ];
# cyclePrevAction = [ ];
# "manage activities" = "Meta+Q";
# "next activity" = "Meta+A";
# "previous activity" = "Meta+Shift+A";
# repeat_action = "Meta+Ctrl+R";
# "show dashboard" = "Ctrl+F12";
# show-barcode = [ ];
# show-on-mouse-pos = "Meta+V";
# "stop current activity" = "Meta+S";
# "switch to next activity" = [ ];
# "switch to previous activity" = [ ];
# "toggle do not disturb" = [ ];
};
# "services/org.kde.plasma-systemmonitor.desktop"._launch = [ ];
# "services/org.kde.spectacle.desktop".RecordWindow = [ ];
# "services/org.kde.spectacle.desktop".RectangularRegionScreenShot = ["Meta+Shift+Print" "Meta+Shift+S"];
# "services/org.kde.spectacle.desktop"._launch = "Print";
# wacomtablet."Map to fullscreen" = "Meta+Ctrl+F";
# wacomtablet."Map to screen 1" = "Meta+Ctrl+1";
# wacomtablet."Map to screen 2" = "Meta+Ctrl+2";
# wacomtablet."Next Profile" = "Meta+Ctrl+N";
# wacomtablet."Previous Profile" = "Meta+Ctrl+P";
# wacomtablet."Toggle screen map selection" = "Meta+Ctrl+M";
# wacomtablet."Toggle stylus mode" = "Meta+Ctrl+S";
# wacomtablet."Toggle touch tool" = "Meta+Ctrl+T";
#"services/org.kde.plasma-systemmonitor.desktop"._launch = [ ];
#"services/org.kde.spectacle.desktop".RecordWindow = [ ];
#"services/org.kde.spectacle.desktop".RectangularRegionScreenShot = ["Meta+Shift+Print" "Meta+Shift+S"];
#"services/org.kde.spectacle.desktop"._launch = "Print";
#wacomtablet."Map to fullscreen" = "Meta+Ctrl+F";
#wacomtablet."Map to screen 1" = "Meta+Ctrl+1";
#wacomtablet."Map to screen 2" = "Meta+Ctrl+2";
#wacomtablet."Next Profile" = "Meta+Ctrl+N";
#wacomtablet."Previous Profile" = "Meta+Ctrl+P";
#wacomtablet."Toggle screen map selection" = "Meta+Ctrl+M";
#wacomtablet."Toggle stylus mode" = "Meta+Ctrl+S";
#wacomtablet."Toggle touch tool" = "Meta+Ctrl+T";
yakuake.toggle-window-state = "Meta+F12";
};
configFile = {
# baloofilerc.General.dbVersion = 2;
# baloofilerc.General."exclude filters" = "*~,*.part,*.o,*.la,*.lo,*.loT,*.moc,moc_*.cpp,qrc_*.cpp,ui_*.h,cmake_install.cmake,CMakeCache.txt,CTestTestfile.cmake,libtool,config.status,confdefs.h,autom4te,conftest,confstat,Makefile.am,*.gcode,.ninja_deps,.ninja_log,build.ninja,*.csproj,*.m4,*.rej,*.gmo,*.pc,*.omf,*.aux,*.tmp,*.po,*.vm*,*.nvram,*.rcore,*.swp,*.swap,lzo,litmain.sh,*.orig,.histfile.*,.xsession-errors*,*.map,*.so,*.a,*.db,*.qrc,*.ini,*.init,*.img,*.vdi,*.vbox*,vbox.log,*.qcow2,*.vmdk,*.vhd,*.vhdx,*.sql,*.sql.gz,*.ytdl,*.tfstate*,*.class,*.pyc,*.pyo,*.elc,*.qmlc,*.jsc,*.fastq,*.fq,*.gb,*.fasta,*.fna,*.gbff,*.faa,po,CVS,.svn,.git,_darcs,.bzr,.hg,CMakeFiles,CMakeTmp,CMakeTmpQmake,.moc,.obj,.pch,.uic,.npm,.yarn,.yarn-cache,__pycache__,node_modules,node_packages,nbproject,.terraform,.venv,venv,core-dumps,lost+found";
# baloofilerc.General."exclude filters version" = 9;
#baloofilerc.General.dbVersion = 2;
#baloofilerc.General."exclude filters" = "*~,*.part,*.o,*.la,*.lo,*.loT,*.moc,moc_*.cpp,qrc_*.cpp,ui_*.h,cmake_install.cmake,CMakeCache.txt,CTestTestfile.cmake,libtool,config.status,confdefs.h,autom4te,conftest,confstat,Makefile.am,*.gcode,.ninja_deps,.ninja_log,build.ninja,*.csproj,*.m4,*.rej,*.gmo,*.pc,*.omf,*.aux,*.tmp,*.po,*.vm*,*.nvram,*.rcore,*.swp,*.swap,lzo,litmain.sh,*.orig,.histfile.*,.xsession-errors*,*.map,*.so,*.a,*.db,*.qrc,*.ini,*.init,*.img,*.vdi,*.vbox*,vbox.log,*.qcow2,*.vmdk,*.vhd,*.vhdx,*.sql,*.sql.gz,*.ytdl,*.tfstate*,*.class,*.pyc,*.pyo,*.elc,*.qmlc,*.jsc,*.fastq,*.fq,*.gb,*.fasta,*.fna,*.gbff,*.faa,po,CVS,.svn,.git,_darcs,.bzr,.hg,CMakeFiles,CMakeTmp,CMakeTmpQmake,.moc,.obj,.pch,.uic,.npm,.yarn,.yarn-cache,__pycache__,node_modules,node_packages,nbproject,.terraform,.venv,venv,core-dumps,lost+found";
#baloofilerc.General."exclude filters version" = 9;
dolphinrc = {
General = {
ShowTerminal = true;
#ShowTerminal = true;
RememberOpenedTabs = false;
# ViewPropsTimestamp = "2024,8,12,15,7,43.15";
# ViewPropsTimestamp = "2024,8,12,15,7,43.15";
};
# IconsMode.PreviewSize = 80;
# "KFileDialog Settings"."Places Icons Auto-resize" = false;
# "KFileDialog Settings"."Places Icons Static Size" = 22;
# PreviewSettings.Plugins = "appimagethumbnail,audiothumbnail,avif,comicbookthumbnail,cursorthumbnail,djvuthumbnail,ebookthumbnail,exrthumbnail,directorythumbnail,fontthumbnail,imagethumbnail,jpegthumbnail,jxl,kraorathumbnail,windowsexethumbnail,windowsimagethumbnail,opendocumentthumbnail,gdk-pixbuf-thumbnailer,svgthumbnail";
"MainWindow"."TerminalPanel Visible" = true;
# IconsMode.PreviewSize = 80;
# "KFileDialog Settings"."Places Icons Auto-resize" = false;
# "KFileDialog Settings"."Places Icons Static Size" = 22;
# PreviewSettings.Plugins = "appimagethumbnail,audiothumbnail,avif,comicbookthumbnail,cursorthumbnail,djvuthumbnail,ebookthumbnail,exrthumbnail,directorythumbnail,fontthumbnail,imagethumbnail,jpegthumbnail,jxl,kraorathumbnail,windowsexethumbnail,windowsimagethumbnail,opendocumentthumbnail,gdk-pixbuf-thumbnailer,svgthumbnail";
};
# kactivitymanagerdrc.activities.e85f493f-046d-4dca-9e07-987ecd4ca4bc = "Default";
# kactivitymanagerdrc.main.currentActivity = "e85f493f-046d-4dca-9e07-987ecd4ca4bc";
#kactivitymanagerdrc.activities.e85f493f-046d-4dca-9e07-987ecd4ca4bc = "Default";
#kactivitymanagerdrc.main.currentActivity = "e85f493f-046d-4dca-9e07-987ecd4ca4bc";
katerc = {
# General."Days Meta Infos" = 30;
# General."Save Meta Infos" = true;
# General."Show Full Path in Title" = false;
# General."Show Menu Bar" = true;
# General."Show Status Bar" = true;
# General."Show Tab Bar" = true;
# General."Show Url Nav Bar" = true;
# "KTextEditor Renderer"."Animate Bracket Matching" = false;
# "KTextEditor Renderer"."Auto Color Theme Selection" = true;
# "KTextEditor Renderer"."Color Theme" = "Breeze Dark";
# "KTextEditor Renderer"."Line Height Multiplier" = 1;
# "KTextEditor Renderer"."Show Indentation Lines" = false;
# "KTextEditor Renderer"."Show Whole Bracket Expression" = false;
# "KTextEditor Renderer"."Text Font" = "Hack,10,-1,7,400,0,0,0,0,0,0,0,0,0,0,1";
# "KTextEditor Renderer"."Text Font Features" = "";
# "KTextEditor Renderer"."Word Wrap Marker" = false;
# "KTextEditor::Search"."Search History" = "availabilityDomain,subnetId";
"KTextEditor Document" = {
"Indentation Width" = 2;
"Tab Width" = 2;
"Replace Tabs" = true;
# General."Days Meta Infos" = 30;
# General."Save Meta Infos" = true;
# General."Show Full Path in Title" = false;
# General."Show Menu Bar" = true;
# General."Show Status Bar" = true;
# General."Show Tab Bar" = true;
# General."Show Url Nav Bar" = true;
# "KTextEditor Renderer"."Animate Bracket Matching" = false;
# "KTextEditor Renderer"."Auto Color Theme Selection" = true;
# "KTextEditor Renderer"."Color Theme" = "Breeze Dark";
# "KTextEditor Renderer"."Line Height Multiplier" = 1;
# "KTextEditor Renderer"."Show Indentation Lines" = false;
# "KTextEditor Renderer"."Show Whole Bracket Expression" = false;
# "KTextEditor Renderer"."Text Font" = "Hack,10,-1,7,400,0,0,0,0,0,0,0,0,0,0,1";
# "KTextEditor Renderer"."Text Font Features" = "";
# "KTextEditor Renderer"."Word Wrap Marker" = false;
# "KTextEditor::Search"."Search History" = "availabilityDomain,subnetId";
"KTextEditor Document" = {
"Indentation Width" = 2;
"Tab Width" = 2;
"Replace Tabs" = true;
};
#filetree.editShade = "31,81,106";
#filetree.listMode = false;#kdeglobals.KDE.widgetStyle = "Breeze";
#filetree.middleClickToClose = false;
#filetree.shadingEnabled = true;
#filetree.showCloseButton = false;
#filetree.showFullPathOnRoots = false;
#filetree.showToolbar = true;
#filetree.sortRole = 0;
#filetree.viewShade = "81,49,95";
};
# filetree.editShade = "31,81,106";
# filetree.listMode = false;# kdeglobals.KDE.widgetStyle = "Breeze";
# filetree.middleClickToClose = false;
# filetree.shadingEnabled = true;
# filetree.showCloseButton = false;
# filetree.showFullPathOnRoots = false;
# filetree.showToolbar = true;
# filetree.sortRole = 0;
# filetree.viewShade = "81,49,95";
};
# kded5rc.Module-browserintegrationreminder.autoload = false;
# kded5rc.Module-device_automounter.autoload = false;
# kdeglobals."DirSelect Dialog"."DirSelectDialog Size" = "960,540";
# kdeglobals.KDE.ShowDeleteCommand = false;
# kdeglobals."KFileDialog Settings"."Allow Expansion" = false;
# kdeglobals."KFileDialog Settings"."Automatically select filename extension" = true;
# kdeglobals."KFileDialog Settings"."Breadcrumb Navigation" = false;
# kdeglobals."KFileDialog Settings"."Decoration position" = 2;
# kdeglobals."KFileDialog Settings"."LocationCombo Completionmode" = 5;
# kdeglobals."KFileDialog Settings"."PathCombo Completionmode" = 5;
# kdeglobals."KFileDialog Settings"."Show Bookmarks" = false;
# kdeglobals."KFileDialog Settings"."Show Full Path" = false;
# kdeglobals."KFileDialog Settings"."Show Inline Previews" = true;
# kdeglobals."KFileDialog Settings"."Show Preview" = false;
# kdeglobals."KFileDialog Settings"."Show Speedbar" = true;
# kdeglobals."KFileDialog Settings"."Show hidden files" = false;
# kdeglobals."KFileDialog Settings"."Sort by" = "Name";
# kdeglobals."KFileDialog Settings"."Sort directories first" = true;
# kdeglobals."KFileDialog Settings"."Sort hidden files last" = false;
# kdeglobals."KFileDialog Settings"."Sort reversed" = true;
# kdeglobals."KFileDialog Settings"."Speedbar Width" = 147;
# kdeglobals."KFileDialog Settings"."View Style" = "DetailTree";
# kdeglobals."KShortcutsDialog Settings"."Dialog Size" = "600,480";
# kdeglobals.PreviewSettings.EnableRemoteFolderThumbnail = false;
# kdeglobals.PreviewSettings.MaximumRemoteSize = 0;
# kdeglobals.Sounds.Theme = "freedesktop";
# kdeglobals.WM.activeBackground = "49,54,59";
# kdeglobals.WM.activeBlend = "252,252,252";
# kdeglobals.WM.activeForeground = "252,252,252";
# kdeglobals.WM.inactiveBackground = "42,46,50";
# kdeglobals.WM.inactiveBlend = "161,169,177";
# kdeglobals.WM.inactiveForeground = "161,169,177";
# kiorc.Confirmations.ConfirmDelete = true;
#kded5rc.Module-browserintegrationreminder.autoload = false;
#kded5rc.Module-device_automounter.autoload = false;
#kdeglobals."DirSelect Dialog"."DirSelectDialog Size" = "960,540";
#kdeglobals.KDE.ShowDeleteCommand = false;
#kdeglobals."KFileDialog Settings"."Allow Expansion" = false;
#kdeglobals."KFileDialog Settings"."Automatically select filename extension" = true;
#kdeglobals."KFileDialog Settings"."Breadcrumb Navigation" = false;
#kdeglobals."KFileDialog Settings"."Decoration position" = 2;
#kdeglobals."KFileDialog Settings"."LocationCombo Completionmode" = 5;
#kdeglobals."KFileDialog Settings"."PathCombo Completionmode" = 5;
#kdeglobals."KFileDialog Settings"."Show Bookmarks" = false;
#kdeglobals."KFileDialog Settings"."Show Full Path" = false;
#kdeglobals."KFileDialog Settings"."Show Inline Previews" = true;
#kdeglobals."KFileDialog Settings"."Show Preview" = false;
#kdeglobals."KFileDialog Settings"."Show Speedbar" = true;
#kdeglobals."KFileDialog Settings"."Show hidden files" = false;
#kdeglobals."KFileDialog Settings"."Sort by" = "Name";
#kdeglobals."KFileDialog Settings"."Sort directories first" = true;
#kdeglobals."KFileDialog Settings"."Sort hidden files last" = false;
#kdeglobals."KFileDialog Settings"."Sort reversed" = true;
#kdeglobals."KFileDialog Settings"."Speedbar Width" = 147;
#kdeglobals."KFileDialog Settings"."View Style" = "DetailTree";
#kdeglobals."KShortcutsDialog Settings"."Dialog Size" = "600,480";
#kdeglobals.PreviewSettings.EnableRemoteFolderThumbnail = false;
#kdeglobals.PreviewSettings.MaximumRemoteSize = 0;
#kdeglobals.Sounds.Theme = "freedesktop";
#kdeglobals.WM.activeBackground = "49,54,59";
#kdeglobals.WM.activeBlend = "252,252,252";
#kdeglobals.WM.activeForeground = "252,252,252";
#kdeglobals.WM.inactiveBackground = "42,46,50";
#kdeglobals.WM.inactiveBlend = "161,169,177";
#kdeglobals.WM.inactiveForeground = "161,169,177";
#kiorc.Confirmations.ConfirmDelete = true;
kscreenlockerrc.Daemon.Autolock = false;
kscreenlockerrc.Daemon.Timeout = 0;
# kscreenlockerrc."Greeter/Wallpaper/org.kde.image/General".Image = "/usr/share/wallpapers/ScarletTree/";
# kscreenlockerrc."Greeter/Wallpaper/org.kde.image/General".PreviewImage = "/usr/share/wallpapers/ScarletTree/";
#kscreenlockerrc."Greeter/Wallpaper/org.kde.image/General".Image = "/usr/share/wallpapers/ScarletTree/";
#kscreenlockerrc."Greeter/Wallpaper/org.kde.image/General".PreviewImage = "/usr/share/wallpapers/ScarletTree/";
ksmserverrc.General.loginMode = "emptySession";
# kwalletrc.Wallet."First Use" = false;
#kwalletrc.Wallet."First Use" = false;
kwinrc = {
# "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"."0f8d8349-5b1b-4b77-bfa5-22829bfaf459" = "4a2f44cc-dfe7-45dc-8439-fe34a6866d37";
# "Activities/LastVirtualDesktop".e85f493f-046d-4dca-9e07-987ecd4ca4bc = "4a2f44cc-dfe7-45dc-8439-fe34a6866d37";
"EdgeBarrier"."EdgeBarrier" = 15;
Desktops = {
# Id_1 = "4a2f44cc-dfe7-45dc-8439-fe34a6866d37";
# Id_2 = "fc5cf4ff-2e08-4059-ac1f-7c5540efa4fc";
# Id_3 = "375e6952-2ebc-473c-bd50-58090b95b184";
# Id_4 = "6cf07176-c30b-401a-b7f4-cf63067a7191";
# Id_1 = "4a2f44cc-dfe7-45dc-8439-fe34a6866d37";
# Id_2 = "fc5cf4ff-2e08-4059-ac1f-7c5540efa4fc";
# Id_3 = "375e6952-2ebc-473c-bd50-58090b95b184";
# Id_4 = "6cf07176-c30b-401a-b7f4-cf63067a7191";
Number = 4;
Rows = 2;
};
@ -397,16 +423,16 @@
Plugins.sheetEnabled = true;
Plugins.translucencyEnabled = true;
Tiling.padding = 4;
# "Tiling/01df8341-b6c7-5a80-b8b8-9d45585f515f".tiles = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
# "Tiling/1c624b6b-fbd3-5af5-93a9-4a7d55ba7893".tiles = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
# "Tiling/f18ce12b-2106-508f-9542-e4e6c6fbf75f".tiles = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
# Xwayland.Scale = 2;
#"Tiling/01df8341-b6c7-5a80-b8b8-9d45585f515f".tiles = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
#"Tiling/1c624b6b-fbd3-5af5-93a9-4a7d55ba7893".tiles = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
#"Tiling/f18ce12b-2106-508f-9542-e4e6c6fbf75f".tiles = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
#Xwayland.Scale = 2;
"org.kde.kdecoration2".BorderSize = "Tiny";
"org.kde.kdecoration2".BorderSizeAuto = false;
"org.kde.kdecoration2".ButtonsOnLeft = "";
# "org.kde.kdecoration2".theme = "__aurorae__svg__Nordic";
#"org.kde.kdecoration2".theme = "__aurorae__svg__Nordic";
};
# plasma-localerc.Formats.LANG = "en_US.UTF-8";
#plasma-localerc.Formats.LANG = "en_US.UTF-8";
#plasmanotifyrc."Applications/dev.deedles.Trayscale".Seen = true;
};
};

View File

@ -1,11 +1,16 @@
{pkgs, inputs, username, project, plasmaTheme, ...}:
{
pkgs,
inputs,
username,
project,
plasmaTheme,
...
}: {
programs = {
plasma = {
overrideConfig = true;
panels = [
{
screen = "all";
height = 44;
location = "bottom";
alignment = "center";
@ -21,7 +26,8 @@
launchers = [
# optional pinned apps
"applications:org.kde.dolphin.desktop"
"applications:systemsettings.desktop""applications:kitty.desktop"
"applications:systemsettings.desktop"
"applications:kitty.desktop"
"applications:firefox.desktop"
];
};
@ -104,7 +110,8 @@
theme = "Win10OS-cursors";
size = 24;
};
wallpaper = /home/${username}/${project}/other/wallpaper1.png;
# Do not use wallpaper option here as it causes issues! Use it in configFile
# wallpaper = /home/${username}/${project}/other/wallpaper1.png;
soundTheme = "ocean";
iconTheme = "We10X";
splashScreen = {
@ -115,6 +122,9 @@
theme = "__aurorae__svg__Win11OS-dark";
};
};
configFile = {
plasmarc.Wallpapers.usersWallpapers = "/home/cookiez/NixOS/other/wallpaper1.png";
};
};
};
}

View File

@ -1,12 +1,16 @@
{pkgs, inputs, username, project, plasmaTheme, ...}:
{
pkgs,
inputs,
username,
project,
plasmaTheme,
...
}: {
programs = {
plasma = {
overrideConfig = true;
panels = [
{
screen = "all";
height = 44;
location = "top";
alignment = "center";
@ -111,13 +115,13 @@
launchers = [
# optional pinned apps
"applications:org.kde.dolphin.desktop"
"applications:systemsettings.desktop""applications:kitty.desktop"
"applications:systemsettings.desktop"
"applications:kitty.desktop"
"applications:firefox.desktop"
];
};
};
}
];
}
];
@ -129,7 +133,8 @@
theme = "Breeze_Light";
size = 24;
};
wallpaper = /home/${username}/${project}/other/wallpaper3.png;
# Do not use wallpaper option here as it causes issues! Use it in configFile
# wallpaper = /home/${username}/${project}/other/wallpaper3.png;
soundTheme = "freedesktop";
iconTheme = "Breeze-LaCapitaine-apps";
splashScreen = {

View File

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