add chatterino, plasma-config, kitty, runelite, eza
fix formatting, fix btrfs being enabled by default update flake
This commit is contained in:
parent
01f8435ba7
commit
39fb8c64dc
15 changed files with 195 additions and 48 deletions
30
flake.lock
generated
30
flake.lock
generated
|
@ -9,11 +9,11 @@
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "pkgs/firefox-addons",
|
"dir": "pkgs/firefox-addons",
|
||||||
"lastModified": 1738555412,
|
"lastModified": 1739003331,
|
||||||
"narHash": "sha256-G5oWvS5yBdZTvl7xmVGXud8l3FLLfst1RZE/a0fdgDo=",
|
"narHash": "sha256-GVcw+qO4cNHG1kjvw2Jy3341Xe4w0jRzjQ2awyhOgEI=",
|
||||||
"owner": "rycee",
|
"owner": "rycee",
|
||||||
"repo": "nur-expressions",
|
"repo": "nur-expressions",
|
||||||
"rev": "ec9525db7b22db431208013dcc9a1d510fc387cf",
|
"rev": "8f2693e1459d1a7a13aaa9fa702c210e9462b65b",
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -191,11 +191,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1738471961,
|
"lastModified": 1738816619,
|
||||||
"narHash": "sha256-cgXDFrplNGs7bCVzXhRofjD8oJYqqXGcmUzXjHmip6Y=",
|
"narHash": "sha256-5yRlg48XmpcX5b5HesdGMOte+YuCy9rzQkJz+imcu6I=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "537286c3c59b40311e5418a180b38034661d2536",
|
"rev": "2eccff41bab80839b1d25b303b53d339fbb07087",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -206,11 +206,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1738435198,
|
"lastModified": 1738843498,
|
||||||
"narHash": "sha256-5+Hmo4nbqw8FrW85FlNm4IIrRnZ7bn0cmXlScNsNRLo=",
|
"narHash": "sha256-7x+Q4xgFj9UxZZO9aUDCR8h4vyYut4zPUvfj3i+jBHE=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "f6687779bf4c396250831aa5a32cbfeb85bb07a3",
|
"rev": "f5a32fa27df91dfc4b762671a0e0a859a8a0058f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -441,11 +441,11 @@
|
||||||
"systems": "systems_2"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1738504946,
|
"lastModified": 1739000762,
|
||||||
"narHash": "sha256-/btrLwD7UFgNWPxdewMdYYiI2GJxYipGnLuX7pRVAjc=",
|
"narHash": "sha256-DBhyyeHw/EJEoc9fRBt+9FEckv5XlnFDBDmxi4Owru4=",
|
||||||
"owner": "notashelf",
|
"owner": "notashelf",
|
||||||
"repo": "nvf",
|
"repo": "nvf",
|
||||||
"rev": "944327329712eda9eec8a86a972e0abd7ea368e6",
|
"rev": "316d4a0825edde5fa84c0cbd32413f4096aee254",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -3238,11 +3238,11 @@
|
||||||
},
|
},
|
||||||
"unstable": {
|
"unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1738410390,
|
"lastModified": 1738961098,
|
||||||
"narHash": "sha256-xvTo0Aw0+veek7hvEVLzErmJyQkEcRk6PSR4zsRQFEc=",
|
"narHash": "sha256-yWNBf6VDW38tl179FEuJ0qukthVfB02kv+mRsfUsWC0=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3a228057f5b619feb3186e986dbe76278d707b6e",
|
"rev": "a3eaf5e8eca7cab680b964138fb79073704aca75",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -50,7 +50,8 @@
|
||||||
channels-config.allowUnfree = true;
|
channels-config.allowUnfree = true;
|
||||||
|
|
||||||
systems.modules.nixos = with inputs; [
|
systems.modules.nixos = with inputs; [
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager
|
||||||
|
{
|
||||||
home-manager.sharedModules = [ inputs.plasma-manager.homeManagerModules.plasma-manager ];
|
home-manager.sharedModules = [ inputs.plasma-manager.homeManagerModules.plasma-manager ];
|
||||||
home-manager.backupFileExtension = "bk-hm";
|
home-manager.backupFileExtension = "bk-hm";
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,13 +15,20 @@
|
||||||
|
|
||||||
apps = {
|
apps = {
|
||||||
librewolf.enable = true;
|
librewolf.enable = true;
|
||||||
|
chatterino.enable = true;
|
||||||
kitty = {
|
kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plasma.enable = true;
|
plasma.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
games = {
|
||||||
|
runelite.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
desktop = {
|
desktop = {
|
||||||
hotkeys.enable = true;
|
hotkeys.enable = true;
|
||||||
|
panel.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
22
modules/home/apps/chatterino/default.nix
Normal file
22
modules/home/apps/chatterino/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
namespace,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib;
|
||||||
|
with lib.${namespace};
|
||||||
|
let
|
||||||
|
cfg = config.${namespace}.apps.chatterino;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.${namespace}.apps.chatterino = with types; {
|
||||||
|
enable = mkBoolOpt false "Whether or not to enable kitty.";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home.packages = [ pkgs.chatterino2 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
60
modules/home/desktop/panel/default.nix
Normal file
60
modules/home/desktop/panel/default.nix
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
namespace,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib;
|
||||||
|
with lib.${namespace};
|
||||||
|
let
|
||||||
|
cfg = config.${namespace}.desktop.panel;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.${namespace}.desktop.panel = with types; {
|
||||||
|
enable = mkBoolOpt false "Whether or not to enable custom panel settings.";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
programs.plasma = {
|
||||||
|
enable = true;
|
||||||
|
panels = [
|
||||||
|
{
|
||||||
|
location = "top";
|
||||||
|
floating = true;
|
||||||
|
screen = [
|
||||||
|
1
|
||||||
|
3
|
||||||
|
];
|
||||||
|
widgets = [
|
||||||
|
{
|
||||||
|
kickoff = {
|
||||||
|
sortAlphabetically = true;
|
||||||
|
icon = "nix-snowflake-white";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
"org.kde.plasma.pager"
|
||||||
|
{
|
||||||
|
iconTasks = {
|
||||||
|
launchers = [
|
||||||
|
"applications:org.kde.dolphin.desktop"
|
||||||
|
"applications:kitty.desktop"
|
||||||
|
"applications:librewolf.desktop"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
"org.kde.plasma.marginsseparator"
|
||||||
|
"org.kde.plasma.systemtray"
|
||||||
|
{
|
||||||
|
digitalClock = {
|
||||||
|
calendar.firstDayOfWeek = "monday";
|
||||||
|
time.format = "24h";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
"org.kde.plasma.showdesktop"
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -11,14 +11,17 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.${namespace}.desktop.hotkeys = with types; {
|
options.${namespace}.desktop.hotkeys = with types; {
|
||||||
enable = mkBoolOpt false "Whether or not to enable kitty.";
|
enable = mkBoolOpt false "Whether or not to enable custom shortcuts.";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.plasma = {
|
programs.plasma = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shortcuts.kwin = {
|
shortcuts.kwin = {
|
||||||
"Window Close" = [ "Meta+Shift+Q" "Alt+F4" ];
|
"Window Close" = [
|
||||||
|
"Meta+Shift+Q"
|
||||||
|
"Alt+F4"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
21
modules/home/games/runelite/default.nix
Normal file
21
modules/home/games/runelite/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
namespace,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib;
|
||||||
|
with lib.${namespace};
|
||||||
|
let
|
||||||
|
cfg = config.${namespace}.desktop.panel;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.${namespace}.games.runelite = with types; {
|
||||||
|
enable = mkBoolOpt false "Whether or not to enable the runelite client for runescape.";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home.packages = [ pkgs.runelite ];
|
||||||
|
};
|
||||||
|
}
|
22
modules/nixos/cli/eza/default.nix
Normal file
22
modules/nixos/cli/eza/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
namespace,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib;
|
||||||
|
with lib.${namespace};
|
||||||
|
let
|
||||||
|
cfg = config.${namespace}.cli.eza;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.${namespace}.cli.eza = with types; {
|
||||||
|
enable = mkBoolOpt false "Whether or not to use Plasma as the desktop environment.";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
environment.systemPackages = [ pkgs.eza ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
options,
|
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
@ -48,9 +47,12 @@ in
|
||||||
with pkgs.kdePackages;
|
with pkgs.kdePackages;
|
||||||
[ ] ++ excludePackages ++ cfg.extraExcludePackages;
|
[ ] ++ excludePackages ++ cfg.extraExcludePackages;
|
||||||
|
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
pinentry-qt
|
pinentry-qt
|
||||||
kdiskmark
|
kdiskmark
|
||||||
|
networkmanager
|
||||||
kdePackages.networkmanager-qt
|
kdePackages.networkmanager-qt
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -12,7 +12,7 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.${namespace}.services.btrfs = {
|
options.${namespace}.services.btrfs = {
|
||||||
enable = mkBoolOpt true "BTRFS";
|
enable = mkBoolOpt false "BTRFS";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
|
@ -38,6 +38,7 @@ in
|
||||||
not path /config.json
|
not path /config.json
|
||||||
|
|
||||||
not path /manifest.json
|
not path /manifest.json
|
||||||
|
not path /sw.js
|
||||||
|
|
||||||
not path /pdf.worker.min.js
|
not path /pdf.worker.min.js
|
||||||
not path /olm.wasm
|
not path /olm.wasm
|
||||||
|
|
26
modules/nixos/system/gnupg/default.nix
Normal file
26
modules/nixos/system/gnupg/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
namespace,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib;
|
||||||
|
with lib.${namespace};
|
||||||
|
let
|
||||||
|
cfg = config.${namespace}.system.gnupg;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.${namespace}.system.gnupg = with types; {
|
||||||
|
enable = mkBoolOpt false "Whether or not to manage fonts.";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
services.pcscd.enable = true;
|
||||||
|
programs.gnupg.agent = {
|
||||||
|
enable = true;
|
||||||
|
enableSSHSupport = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -1,16 +1,7 @@
|
||||||
{
|
{
|
||||||
options,
|
|
||||||
config,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
|
||||||
namespace,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib;
|
|
||||||
with lib.${namespace};
|
|
||||||
let
|
|
||||||
cfg = config.${namespace}.user;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,14 +1,8 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
modulesPath,
|
modulesPath,
|
||||||
inputs,
|
inputs,
|
||||||
namespace,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib;
|
|
||||||
with lib.${namespace};
|
|
||||||
{
|
{
|
||||||
imports = with inputs.nixos-hardware.nixosModules; [
|
imports = with inputs.nixos-hardware.nixosModules; [
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
@ -53,7 +47,7 @@ with lib.${namespace};
|
||||||
|
|
||||||
users.users.philipp = {
|
users.users.philipp = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Philipp Boehm";
|
description = "Philipp Böhm";
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"wheel"
|
"wheel"
|
||||||
"caddy"
|
"caddy"
|
||||||
|
@ -64,17 +58,12 @@ with lib.${namespace};
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
neovim
|
|
||||||
wget
|
|
||||||
];
|
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
||||||
awesome-flake.services.caddy.enable = true;
|
awesome-flake.services.caddy.enable = true;
|
||||||
awesome-flake.container.technitium.enable = true;
|
awesome-flake.container.technitium.enable = true;
|
||||||
|
|
||||||
system.stateVersion = "24.11"; # Did you read the comment?
|
system.stateVersion = "24.11";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
{
|
{
|
||||||
inputs,
|
|
||||||
outputs,
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
@ -14,6 +9,7 @@
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.systemd-boot.consoleMode = "max";
|
boot.loader.systemd-boot.consoleMode = "max";
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
@ -35,17 +31,23 @@
|
||||||
awesome-flake = {
|
awesome-flake = {
|
||||||
cli = {
|
cli = {
|
||||||
neovim.enable = true;
|
neovim.enable = true;
|
||||||
|
eza.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
apps = {
|
apps = {
|
||||||
steam.enable = true;
|
steam.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
desktop.plasma.enable = true;
|
desktop.plasma.enable = true;
|
||||||
hardware.audio.enable = true;
|
hardware.audio.enable = true;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
btrfs.enable = true;
|
btrfs.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
system.fonts.enable = true;
|
system.fonts.enable = true;
|
||||||
system.fonts.emoji = true;
|
system.fonts.emoji = true;
|
||||||
|
system.gnupg.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set your time zone
|
# Set your time zone
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue