Compare commits
4 Commits
6ce116ef71
...
15268487f3
| Author | SHA1 | Date | |
|---|---|---|---|
| 15268487f3 | |||
| 25718939f8 | |||
| 002d90b664 | |||
| 7c3c15a9a2 |
@ -10,7 +10,7 @@ general {
|
|||||||
|
|
||||||
background {
|
background {
|
||||||
monitor =
|
monitor =
|
||||||
path = /home/foglar/dotfiles/nixos/aurora_borealis.png
|
path = /home/foglar/dotfiles/config/backgrounds/aurora_borealis.png
|
||||||
color = rgba(25, 20, 20, 1.0)
|
color = rgba(25, 20, 20, 1.0)
|
||||||
|
|
||||||
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
||||||
|
|||||||
18
flake.lock
18
flake.lock
@ -108,11 +108,11 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "pkgs/firefox-addons",
|
"dir": "pkgs/firefox-addons",
|
||||||
"lastModified": 1732248209,
|
"lastModified": 1732437995,
|
||||||
"narHash": "sha256-Mv8k0VuGdb6YhhKt+8SIvhMdmI4xZhw/3ycSvlAq19Q=",
|
"narHash": "sha256-e+a2fakuHryskUKuupz3ZhwEM9MFD6eUxM7dRJAlOLs=",
|
||||||
"owner": "rycee",
|
"owner": "rycee",
|
||||||
"repo": "nur-expressions",
|
"repo": "nur-expressions",
|
||||||
"rev": "4a8ba00d1be3f3745428ed56efbb32155c548192",
|
"rev": "9fdaef6ec5c8317cee125ea69b5b79fa73a26c69",
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -252,11 +252,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732025103,
|
"lastModified": 1732420764,
|
||||||
"narHash": "sha256-qjEI64RKvDxRyEarY0jTzrZMa8ebezh2DEZmJJrpVdo=",
|
"narHash": "sha256-u6JOOVlnGe8fMekW0BgaHuuZwbJp4ixQaMA5BEvRoDA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "a46e702093a5c46e192243edbd977d5749e7f294",
|
"rev": "67cd4814a247fd0fe97171acb90659f7e304bcb8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -329,11 +329,11 @@
|
|||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732242702,
|
"lastModified": 1732416388,
|
||||||
"narHash": "sha256-fJ+fGtTRLSMBdaz0q2yi2xlC0gMTo+4cGjcLlwtOGQk=",
|
"narHash": "sha256-9kCpC9NtQwm5hrPseqLF8nN2eWZv/3I1KmuvNlxv03w=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "Hyprland",
|
"repo": "Hyprland",
|
||||||
"rev": "b1003445953474b967464d4d0878955d37498647",
|
"rev": "55ec8bd512605a014cc322d3419a9cfa72178340",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
11
flake.nix
11
flake.nix
@ -11,6 +11,7 @@
|
|||||||
hyprland = {
|
hyprland = {
|
||||||
url = "github:hyprwm/Hyprland";
|
url = "github:hyprwm/Hyprland";
|
||||||
};
|
};
|
||||||
|
|
||||||
#hyprland-plugins = {
|
#hyprland-plugins = {
|
||||||
# url = "github:hyprwm/hyprland-plugins";
|
# url = "github:hyprwm/hyprland-plugins";
|
||||||
# inputs.hyprland.follows = "hyprland";
|
# inputs.hyprland.follows = "hyprland";
|
||||||
@ -42,6 +43,10 @@
|
|||||||
nix-ld,
|
nix-ld,
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
|
|
||||||
|
username = "foglar";
|
||||||
|
hostname = "laptop";
|
||||||
|
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
@ -62,13 +67,15 @@
|
|||||||
in {
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
laptop = nixpkgs.lib.nixosSystem {
|
laptop = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {inherit inputs system pkgs pkgs-stable;};
|
specialArgs = {
|
||||||
|
inherit inputs system pkgs pkgs-stable username hostname;
|
||||||
|
};
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
./nixos/configuration.nix
|
./nixos/configuration.nix
|
||||||
inputs.stylix.nixosModules.stylix
|
inputs.stylix.nixosModules.stylix
|
||||||
nix-ld.nixosModules.nix-ld
|
nix-ld.nixosModules.nix-ld
|
||||||
{ programs.nix-ld.dev.enable = true; }
|
{programs.nix-ld.dev.enable = true;}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
inputs,
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
pkgs-stable,
|
pkgs-stable,
|
||||||
|
username,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
@ -28,14 +29,14 @@
|
|||||||
WLR_NO_HARDWARE_CURSORS = "1";
|
WLR_NO_HARDWARE_CURSORS = "1";
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
FLAKE = "/home/foglar/dotfiles";
|
FLAKE = "/home/${username}/dotfiles";
|
||||||
|
|
||||||
DEFAULT_BROWSER = "${pkgs.librewolf}/bin/librewolf";
|
DEFAULT_BROWSER = "${pkgs.librewolf}/bin/librewolf";
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.foglar = {
|
users.users.${username} = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "foglar";
|
description = "${username}";
|
||||||
extraGroups = ["wheel"];
|
extraGroups = ["wheel"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -148,7 +148,7 @@
|
|||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
"$term" = "${pkgs.kitty}/bin/kitty";
|
"$term" = "${pkgs.kitty}/bin/kitty";
|
||||||
"$editor" = "${pkgs.vscode}/bin/code";
|
"$editor" = "${pkgs.vscode}/bin/code";
|
||||||
"$file" = "dolphin";
|
"$file" = "nautilus";
|
||||||
"$browser" = "${pkgs.librewolf}/bin/librewolf";
|
"$browser" = "${pkgs.librewolf}/bin/librewolf";
|
||||||
|
|
||||||
animations = {
|
animations = {
|
||||||
|
|||||||
@ -5,8 +5,6 @@
|
|||||||
hypridle
|
hypridle
|
||||||
hyprpolkitagent
|
hyprpolkitagent
|
||||||
|
|
||||||
kdePackages.dolphin
|
|
||||||
|
|
||||||
dunst
|
dunst
|
||||||
libnotify
|
libnotify
|
||||||
swayosd
|
swayosd
|
||||||
@ -81,5 +79,6 @@
|
|||||||
#(writeShellScriptBin "rofilaunch" '''')
|
#(writeShellScriptBin "rofilaunch" '''')
|
||||||
]) ++ (with pkgs-stable; [
|
]) ++ (with pkgs-stable; [
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
gnome.nautilus
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -69,7 +69,7 @@
|
|||||||
orientation = mkLiteral "vertical";
|
orientation = mkLiteral "vertical";
|
||||||
children = ["inputbar" "listbox"];
|
children = ["inputbar" "listbox"];
|
||||||
background-color = mkLiteral "transparent";
|
background-color = mkLiteral "transparent";
|
||||||
background-image = mkLiteral "url(\"~/dotfiles/nixos/aurora_borealis.png\", height)";
|
background-image = mkLiteral "url(\"~/dotfiles/config/backgrounds/aurora_borealis.png\", height)";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Input bar settings
|
# Input bar settings
|
||||||
@ -79,7 +79,7 @@
|
|||||||
padding = mkLiteral "5em";
|
padding = mkLiteral "5em";
|
||||||
children = ["entry"];
|
children = ["entry"];
|
||||||
background-color = mkLiteral "transparent";
|
background-color = mkLiteral "transparent";
|
||||||
background-image = mkLiteral "url(\"~/dotfiles/nixos/aurora_borealis.png\", width)";
|
background-image = mkLiteral "url(\"~/dotfiles/config/backgrounds/aurora_borealis.png\", width)";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Entry field settings
|
# Entry field settings
|
||||||
|
|||||||
@ -14,37 +14,6 @@
|
|||||||
|
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
|
|
||||||
programs.bash = {
|
|
||||||
enable = true;
|
|
||||||
enableCompletion = true;
|
|
||||||
|
|
||||||
shellAliases = {
|
|
||||||
vim = "nvim";
|
|
||||||
ls = "exa --icons";
|
|
||||||
ll = "exa -alh --icons";
|
|
||||||
tree = "exa --tree --icons";
|
|
||||||
open = "rifle";
|
|
||||||
ip = "ip -c";
|
|
||||||
s = "kitten ssh";
|
|
||||||
diff = "diff --color";
|
|
||||||
cd = "z";
|
|
||||||
|
|
||||||
respawn = "clear; pfetch";
|
|
||||||
l = "eza -lh --icons=auto";
|
|
||||||
mkdir = "mkdir -p";
|
|
||||||
cat = "bat --style plain";
|
|
||||||
rasp = "s foglar@192.168.8.140";
|
|
||||||
hist = "history | awk '{for (i=2; i<=NF; i++) printf \$i\" \"; print \"\"}' | fzf | wl-copy";
|
|
||||||
packages = "paru -Qe | fzf | wl-copy";
|
|
||||||
cdx = "zoxide query --interactive";
|
|
||||||
|
|
||||||
distrobox-enter = "distrobox-enter --root";
|
|
||||||
distrobox-create = "distrobox-create --root";
|
|
||||||
};
|
|
||||||
|
|
||||||
bashrcExtra = ''
|
|
||||||
pfetch'';
|
|
||||||
};
|
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
".config/hypr/hyprlock.conf".source = ../config/hyprlock.conf;
|
".config/hypr/hyprlock.conf".source = ../config/hyprlock.conf;
|
||||||
@ -58,14 +27,6 @@
|
|||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
home.sessionVariables = {
|
|
||||||
EDITOR = "nvim";
|
|
||||||
FLAKE = "/home/foglar/dotfiles";
|
|
||||||
XDG_DATA_HOME = "$HOME/.local/share";
|
|
||||||
XDG_PICTURES_DIR = "$HOME/Pictures/Screenshots/";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,13 +23,13 @@
|
|||||||
libreoffice
|
libreoffice
|
||||||
localsend
|
localsend
|
||||||
plasma5Packages.kdeconnect-kde
|
plasma5Packages.kdeconnect-kde
|
||||||
qbittorrent
|
|
||||||
vlc
|
vlc
|
||||||
openrocket
|
openrocket
|
||||||
spotify
|
spotify
|
||||||
spotube
|
spotube
|
||||||
inkscape
|
inkscape
|
||||||
gnome-disk-utility
|
gnome-disk-utility
|
||||||
|
qbittorrent
|
||||||
])
|
])
|
||||||
++ (with pkgs-stable; [
|
++ (with pkgs-stable; [
|
||||||
loupe
|
loupe
|
||||||
|
|||||||
@ -12,8 +12,8 @@
|
|||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
vitetris
|
vitetris
|
||||||
steam
|
steam
|
||||||
|
superTuxKart
|
||||||
heroic
|
heroic
|
||||||
gamescope
|
|
||||||
wine
|
wine
|
||||||
|
|
||||||
(writeShellScriptBin "nvidia-offload" ''
|
(writeShellScriptBin "nvidia-offload" ''
|
||||||
@ -23,6 +23,36 @@
|
|||||||
export __VK_LAYER_NV_optimus=NVIDIA_only
|
export __VK_LAYER_NV_optimus=NVIDIA_only
|
||||||
exec "$@"
|
exec "$@"
|
||||||
'')
|
'')
|
||||||
|
|
||||||
|
(writeShellScriptBin "gs" ''
|
||||||
|
set -xeuo pipefail
|
||||||
|
|
||||||
|
gamescopeArgs=(
|
||||||
|
--adaptive-sync # VRR support
|
||||||
|
--hdr-enabled
|
||||||
|
--mangoapp # performance overlay
|
||||||
|
--rt
|
||||||
|
--steam
|
||||||
|
)
|
||||||
|
steamArgs=(
|
||||||
|
-pipewire-dmabuf
|
||||||
|
-tenfoot
|
||||||
|
)
|
||||||
|
mangoConfig=(
|
||||||
|
cpu_temp
|
||||||
|
gpu_temp
|
||||||
|
ram
|
||||||
|
vram
|
||||||
|
)
|
||||||
|
mangoVars=(
|
||||||
|
MANGOHUD=1
|
||||||
|
MANGOHUD_CONFIG="$(IFS=,; echo "''${mangoConfig[*]}")"
|
||||||
|
)
|
||||||
|
|
||||||
|
export "''${mangoVars[@]}"
|
||||||
|
exec gamescope "''${gamescopeArgs[@]}" -- steam "''${steamArgs[@]}"
|
||||||
|
|
||||||
|
'')
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -30,7 +30,6 @@
|
|||||||
"discord"
|
"discord"
|
||||||
"spotify"
|
"spotify"
|
||||||
|
|
||||||
"webstorm"
|
|
||||||
"pycharm"
|
"pycharm"
|
||||||
"pycharm-professional"
|
"pycharm-professional"
|
||||||
|
|
||||||
|
|||||||
@ -5,10 +5,10 @@
|
|||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options = {
|
options = {
|
||||||
vscode.enable = lib.mkEnableOption "enable vscode";
|
programming.vscode.enable = lib.mkEnableOption "enable vscode";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.vscode.enable {
|
config = lib.mkIf config.programming.vscode.enable {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
vscode
|
vscode
|
||||||
gopls
|
gopls
|
||||||
@ -37,6 +37,7 @@
|
|||||||
"security.workspace.trust.enabled" = false;
|
"security.workspace.trust.enabled" = false;
|
||||||
"terminal.external.linuxExec" = "kitty";
|
"terminal.external.linuxExec" = "kitty";
|
||||||
"terminal.integrated.stickyScroll.enabled" = true;
|
"terminal.integrated.stickyScroll.enabled" = true;
|
||||||
|
"terminal.integrated.inheritEnv"= false;
|
||||||
"telemetry.telemetryLevel" = "off";
|
"telemetry.telemetryLevel" = "off";
|
||||||
"workbench.activityBar.location" = "hidden"; # bottom
|
"workbench.activityBar.location" = "hidden"; # bottom
|
||||||
"workbench.iconTheme" = "material-icon-theme";
|
"workbench.iconTheme" = "material-icon-theme";
|
||||||
|
|||||||
@ -6,10 +6,10 @@
|
|||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
git.enable = lib.mkEnableOption "enable git";
|
programming.git.enable = lib.mkEnableOption "enable git";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.git.enable {
|
config = lib.mkIf config.programming.git.enable {
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "foglar";
|
userName = "foglar";
|
||||||
|
|||||||
@ -17,8 +17,8 @@
|
|||||||
|
|
||||||
config = lib.mkIf config.programming.enable {
|
config = lib.mkIf config.programming.enable {
|
||||||
|
|
||||||
vscode.enable = lib.mkDefault true;
|
programming.vscode.enable = lib.mkDefault true;
|
||||||
git.enable = lib.mkDefault true;
|
programming.git.enable = lib.mkDefault true;
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
neovim
|
neovim
|
||||||
@ -27,7 +27,6 @@
|
|||||||
go
|
go
|
||||||
jq
|
jq
|
||||||
conda
|
conda
|
||||||
jetbrains.webstorm
|
|
||||||
jetbrains.pycharm-professional
|
jetbrains.pycharm-professional
|
||||||
dotnet-sdk_8
|
dotnet-sdk_8
|
||||||
nodejs
|
nodejs
|
||||||
|
|||||||
@ -15,7 +15,8 @@
|
|||||||
|
|
||||||
config = lib.mkIf config.terminal_tools.enable {
|
config = lib.mkIf config.terminal_tools.enable {
|
||||||
|
|
||||||
oh-my-posh.enable = lib.mkDefault true;
|
shell.bash.enable = lib.mkDefault true;
|
||||||
|
shell.bash.oh-my-posh.enable = lib.mkDefault true;
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
bat.enable = true;
|
bat.enable = true;
|
||||||
|
|||||||
@ -5,10 +5,10 @@
|
|||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options = {
|
options = {
|
||||||
oh-my-posh.enable = lib.mkEnableOption "enable oh-my-posh";
|
shell.oh-my-posh.enable = lib.mkEnableOption "enable oh-my-posh";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.oh-my-posh.enable {
|
config = lib.mkIf config.shell.oh-my-posh.enable {
|
||||||
programs.oh-my-posh = {
|
programs.oh-my-posh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
|
|||||||
47
nixos/packages/tools/shell.nix
Normal file
47
nixos/packages/tools/shell.nix
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
{lib, ...}: {
|
||||||
|
options = {
|
||||||
|
shell.enable =
|
||||||
|
lib.mkEnableOption "enables shell tools";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf lib.config.shell.enable {
|
||||||
|
programs.bash = {
|
||||||
|
enable = true;
|
||||||
|
enableCompletion = true;
|
||||||
|
|
||||||
|
shellAliases = {
|
||||||
|
vim = "nvim";
|
||||||
|
ls = "exa --icons";
|
||||||
|
ll = "exa -alh --icons";
|
||||||
|
tree = "exa --tree --icons";
|
||||||
|
open = "rifle";
|
||||||
|
ip = "ip -c";
|
||||||
|
s = "kitten ssh";
|
||||||
|
diff = "diff --color";
|
||||||
|
cd = "z";
|
||||||
|
|
||||||
|
respawn = "clear; pfetch";
|
||||||
|
l = "eza -lh --icons=auto";
|
||||||
|
mkdir = "mkdir -p";
|
||||||
|
cat = "bat --style plain";
|
||||||
|
rasp = "s foglar@192.168.8.140";
|
||||||
|
hist = "history | awk '{for (i=2; i<=NF; i++) printf \$i\" \"; print \"\"}' | fzf | wl-copy";
|
||||||
|
cdx = "zoxide query --interactive";
|
||||||
|
|
||||||
|
distrobox-enter = "distrobox-enter --root";
|
||||||
|
distrobox-create = "distrobox-create --root";
|
||||||
|
distrobox-list = "distrobox-list --root";
|
||||||
|
};
|
||||||
|
|
||||||
|
bashrcExtra = ''
|
||||||
|
pfetch'';
|
||||||
|
};
|
||||||
|
|
||||||
|
home.sessionVariables = {
|
||||||
|
EDITOR = "nvim";
|
||||||
|
FLAKE = "/home/foglar/dotfiles";
|
||||||
|
XDG_DATA_HOME = "$HOME/.local/share";
|
||||||
|
XDG_PICTURES_DIR = "$HOME/Pictures/Screenshots/";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -13,6 +13,7 @@
|
|||||||
tor.enable = lib.mkDefault true;
|
tor.enable = lib.mkDefault true;
|
||||||
virt-manager.enable = lib.mkDefault true;
|
virt-manager.enable = lib.mkDefault true;
|
||||||
};
|
};
|
||||||
|
desktop.steamdeck.enable = lib.mkDefault false;
|
||||||
programs.kdeconnect.enable = true;
|
programs.kdeconnect.enable = true;
|
||||||
programs.wireshark.enable = true;
|
programs.wireshark.enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
|
username,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options = {
|
options = {
|
||||||
@ -16,6 +17,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.foglar.extraGroups = [ "docker" ];
|
users.users.${username}.extraGroups = [ "docker" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,18 +1,33 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
|
pkgs,
|
||||||
|
username,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options = {
|
options = {
|
||||||
package.steam.enable = lib.mkEnableOption "Enable Steam module";
|
package.steam.enable = lib.mkEnableOption "Enable Steam module";
|
||||||
|
desktop.steamdeck.enable = lib.mkEnableOption "Enable Steam desktop integration";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.package.steam.enable {
|
config = lib.mkMerge [
|
||||||
programs.steam = {
|
(lib.mkIf config.package.steam.enable {
|
||||||
enable = true;
|
programs.steam = {
|
||||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
enable = true;
|
||||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
gamescopeSession.enable = true;
|
||||||
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
|
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||||
};
|
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||||
};
|
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
|
||||||
|
};
|
||||||
|
})
|
||||||
|
(lib.mkIf config.desktop.steamdeck.enable {
|
||||||
|
services.getty.autologinUser = "${username}";
|
||||||
|
environment = {
|
||||||
|
systemPackages = [pkgs.mangohud];
|
||||||
|
loginShellInit = ''
|
||||||
|
[[ "$(tty)" = "/dev/tty1" ]] && gs
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,18 +1,25 @@
|
|||||||
{...}:
|
|
||||||
{
|
{
|
||||||
# Enable sound with pipewire.
|
lib,
|
||||||
hardware.pulseaudio.enable = false;
|
config,
|
||||||
security.rtkit.enable = true;
|
...
|
||||||
services.pipewire = {
|
}: {
|
||||||
enable = true;
|
options.sys.audio.enable = lib.mkEnableOption "Enable audio support";
|
||||||
alsa.enable = true;
|
|
||||||
alsa.support32Bit = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
# If you want to use JACK applications, uncomment this
|
|
||||||
#jack.enable = true;
|
|
||||||
|
|
||||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
config = lib.mkIf config.sys.audio.enable {
|
||||||
# no need to redefine it in your config for now)
|
# Enable sound with pipewire.
|
||||||
#media-session.enable = true;
|
hardware.pulseaudio.enable = false;
|
||||||
|
security.rtkit.enable = true;
|
||||||
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
# If you want to use JACK applications, uncomment this
|
||||||
|
#jack.enable = true;
|
||||||
|
|
||||||
|
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||||
|
# no need to redefine it in your config for now)
|
||||||
|
#media-session.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,48 +1,64 @@
|
|||||||
{
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
inputs,
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}: {
|
||||||
{
|
options = {
|
||||||
services.desktopManager.plasma6.enable = true;
|
sys.desktop.plasma.enable = lib.mkEnableOption "Plasma Desktop";
|
||||||
#services.xserver.desktopManager.gnome.enable = true;
|
sys.desktop.gnome.enable = lib.mkEnableOption "GNOME Desktop";
|
||||||
|
sys.desktop.hyprland.enable = lib.mkEnableOption "Hyprland Desktop";
|
||||||
#environment.gnome.excludePackages = with pkgs; [
|
|
||||||
# gnome-tour
|
|
||||||
# gnome-connections
|
|
||||||
# epiphany # web browser
|
|
||||||
# geary # email reader. Up to 24.05. Starting from 24.11 the package name is just geary.
|
|
||||||
# #evince # document viewer
|
|
||||||
# gnome-weather
|
|
||||||
# gnome-contacts
|
|
||||||
# gnome-maps
|
|
||||||
# gnome-logs
|
|
||||||
# gnome-music
|
|
||||||
# gnome-system-monitor
|
|
||||||
# gnome-text-editor
|
|
||||||
# yelp
|
|
||||||
# totem
|
|
||||||
# snapshot
|
|
||||||
# seahorse
|
|
||||||
#];
|
|
||||||
|
|
||||||
environment.plasma6.excludePackages = with pkgs.kdePackages; [
|
|
||||||
ark
|
|
||||||
plasma-browser-integration
|
|
||||||
konsole
|
|
||||||
oxygen
|
|
||||||
gwenview
|
|
||||||
okular
|
|
||||||
elisa
|
|
||||||
kate
|
|
||||||
krdp
|
|
||||||
khelpcenter
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.hyprland = {
|
|
||||||
enable = true;
|
|
||||||
xwayland.enable = true;
|
|
||||||
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
|
||||||
portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
|
||||||
};
|
};
|
||||||
}
|
|
||||||
|
config = lib.mkMerge [
|
||||||
|
(lib.mkIf config.sys.desktop.plasma.enable {
|
||||||
|
services.desktopManager.plasma6.enable = true;
|
||||||
|
|
||||||
|
environment.plasma6.excludePackages = with pkgs.kdePackages; [
|
||||||
|
ark
|
||||||
|
plasma-browser-integration
|
||||||
|
konsole
|
||||||
|
oxygen
|
||||||
|
gwenview
|
||||||
|
okular
|
||||||
|
elisa
|
||||||
|
kate
|
||||||
|
krdp
|
||||||
|
khelpcenter
|
||||||
|
];
|
||||||
|
})
|
||||||
|
|
||||||
|
(lib.mkIf config.sys.desktop.gnome.enable {
|
||||||
|
services.xserver.desktopManager.gnome.enable = true;
|
||||||
|
|
||||||
|
environment.gnome.excludePackages = with pkgs; [
|
||||||
|
gnome-tour
|
||||||
|
gnome-connections
|
||||||
|
epiphany # web browser
|
||||||
|
geary # email reader. Up to 24.05. Starting from 24.11 the package name is just geary.
|
||||||
|
#evince # document viewer
|
||||||
|
gnome-weather
|
||||||
|
gnome-contacts
|
||||||
|
gnome-maps
|
||||||
|
gnome-logs
|
||||||
|
gnome-music
|
||||||
|
gnome-system-monitor
|
||||||
|
gnome-text-editor
|
||||||
|
yelp
|
||||||
|
totem
|
||||||
|
snapshot
|
||||||
|
seahorse
|
||||||
|
];
|
||||||
|
})
|
||||||
|
|
||||||
|
(lib.mkIf config.sys.desktop.hyprland.enable {
|
||||||
|
programs.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
xwayland.enable = true;
|
||||||
|
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
||||||
|
portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|||||||
@ -1,8 +1,19 @@
|
|||||||
{pkgs, ...}: {
|
{
|
||||||
fonts.packages = with pkgs; [
|
config,
|
||||||
noto-fonts
|
lib,
|
||||||
noto-fonts-emoji
|
pkgs,
|
||||||
(nerdfonts.override {fonts = ["JetBrainsMono"];})
|
...
|
||||||
monaspace
|
}: {
|
||||||
];
|
options = {
|
||||||
|
sys.fonts.packages = pkgs.lib.mkEnableOption "Install fonts";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.sys.fonts.packages {
|
||||||
|
fonts.packages = with pkgs; [
|
||||||
|
noto-fonts
|
||||||
|
noto-fonts-emoji
|
||||||
|
(nerdfonts.override {fonts = ["JetBrainsMono"];})
|
||||||
|
monaspace
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,23 +1,35 @@
|
|||||||
{...}: {
|
{
|
||||||
# Set your time zone.
|
lib,
|
||||||
time.timeZone = "Europe/Prague";
|
config,
|
||||||
# Select internationalisation properties.
|
...
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
}: {
|
||||||
|
options = {
|
||||||
i18n.extraLocaleSettings = {
|
sys.locales = {
|
||||||
LC_ADDRESS = "cs_CZ.UTF-8";
|
enable = lib.mkEnableOption "Enable locales configuration";
|
||||||
LC_IDENTIFICATION = "cs_CZ.UTF-8";
|
};
|
||||||
LC_MEASUREMENT = "cs_CZ.UTF-8";
|
|
||||||
LC_MONETARY = "cs_CZ.UTF-8";
|
|
||||||
LC_NAME = "cs_CZ.UTF-8";
|
|
||||||
LC_NUMERIC = "cs_CZ.UTF-8";
|
|
||||||
LC_PAPER = "cs_CZ.UTF-8";
|
|
||||||
LC_TELEPHONE = "cs_CZ.UTF-8";
|
|
||||||
LC_TIME = "cs_CZ.UTF-8";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.xserver = {
|
config = lib.mkIf config.sys.locales.enable {
|
||||||
xkb.layout = "us,cz";
|
# Set your time zone.
|
||||||
xkb.options = "grp:win_space_toggle";
|
time.timeZone = "Europe/Prague";
|
||||||
|
# Select internationalisation properties.
|
||||||
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
||||||
|
i18n.extraLocaleSettings = {
|
||||||
|
LC_ADDRESS = "cs_CZ.UTF-8";
|
||||||
|
LC_IDENTIFICATION = "cs_CZ.UTF-8";
|
||||||
|
LC_MEASUREMENT = "cs_CZ.UTF-8";
|
||||||
|
LC_MONETARY = "cs_CZ.UTF-8";
|
||||||
|
LC_NAME = "cs_CZ.UTF-8";
|
||||||
|
LC_NUMERIC = "cs_CZ.UTF-8";
|
||||||
|
LC_PAPER = "cs_CZ.UTF-8";
|
||||||
|
LC_TELEPHONE = "cs_CZ.UTF-8";
|
||||||
|
LC_TIME = "cs_CZ.UTF-8";
|
||||||
|
};
|
||||||
|
|
||||||
|
services.xserver = {
|
||||||
|
xkb.layout = "us,cz";
|
||||||
|
xkb.options = "grp:win_space_toggle";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,34 @@
|
|||||||
{...}: {
|
{
|
||||||
networking.hostName = "laptop"; # Define your hostname.
|
lib,
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
config,
|
||||||
|
hostname,
|
||||||
|
username,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
options = {
|
||||||
|
sys.network.enable = lib.mkEnableOption "Enable networking";
|
||||||
|
sys.bluetooth.enable = lib.mkEnableOption "Enable Bluetooth support";
|
||||||
|
};
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
config = lib.mkMerge [
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
(lib.mkIf config.sys.network.enable {
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
networking.hostName = "${hostname}"; # Define your hostname.
|
||||||
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
# Enable networking
|
# Configure network proxy if necessary
|
||||||
networking.networkmanager.enable = true;
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||||
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||||
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
|
||||||
services.blueman.enable = true;
|
|
||||||
|
|
||||||
users.users.foglar.extraGroups = [ "networkmanager" ];
|
# Enable networking
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
|
users.users.${username}.extraGroups = ["networkmanager"];
|
||||||
|
})
|
||||||
|
(
|
||||||
|
lib.mkIf config.sys.bluetooth.enable {
|
||||||
|
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
||||||
|
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
||||||
|
services.blueman.enable = true;
|
||||||
|
}
|
||||||
|
)
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,45 +1,55 @@
|
|||||||
{config, ...}: {
|
{
|
||||||
hardware = {
|
lib,
|
||||||
graphics.enable = true;
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
options = {
|
||||||
|
sys.nvidia.enable = lib.mkEnableOption "Enable Nvidia graphics support";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.xserver.videoDrivers = ["nvidia"];
|
|
||||||
|
|
||||||
hardware.nvidia = {
|
config = lib.mkIf config.sys.nvidia.enable {
|
||||||
# Modesetting is required.
|
hardware = {
|
||||||
modesetting.enable = true;
|
graphics.enable = true;
|
||||||
|
|
||||||
# Nvidia power management. Experimental, and can cause sleep/suspend to fail.
|
|
||||||
# Enable this if you have graphical corruption issues or application crashes after waking
|
|
||||||
# up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead
|
|
||||||
# of just the bare essentials.
|
|
||||||
powerManagement.enable = false;
|
|
||||||
|
|
||||||
# Fine-grained power management. Turns off GPU when not in use.
|
|
||||||
# Experimental and only works on modern Nvidia GPUs (Turing or newer).
|
|
||||||
powerManagement.finegrained = false;
|
|
||||||
|
|
||||||
# Use the NVidia open source kernel module (not to be confused with the
|
|
||||||
# independent third-party "nouveau" open source driver).
|
|
||||||
# Support is limited to the Turing and later architectures. Full list of
|
|
||||||
# supported GPUs is at:
|
|
||||||
# https://github.com/NVIDIA/open-gpu-kernel-modules#compatible-gpus
|
|
||||||
# Only available from driver 515.43.04+
|
|
||||||
# Currently alpha-quality/buggy, so false is currently the recommended setting.
|
|
||||||
open = false;
|
|
||||||
|
|
||||||
# Enable the Nvidia settings menu,
|
|
||||||
# accessible via `nvidia-settings`.
|
|
||||||
nvidiaSettings = true;
|
|
||||||
prime.amdgpuBusId = "pci@000:04:0";
|
|
||||||
prime.nvidiaBusId = "pci@000:01:0";
|
|
||||||
|
|
||||||
prime.offload = {
|
|
||||||
enable = true;
|
|
||||||
enableOffloadCmd = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Optionally, you may need to select the appropriate driver version for your specific GPU.
|
services.xserver.videoDrivers = ["nvidia"];
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
|
||||||
|
hardware.nvidia = {
|
||||||
|
# Modesetting is required.
|
||||||
|
modesetting.enable = true;
|
||||||
|
|
||||||
|
# Nvidia power management. Experimental, and can cause sleep/suspend to fail.
|
||||||
|
# Enable this if you have graphical corruption issues or application crashes after waking
|
||||||
|
# up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead
|
||||||
|
# of just the bare essentials.
|
||||||
|
powerManagement.enable = false;
|
||||||
|
|
||||||
|
# Fine-grained power management. Turns off GPU when not in use.
|
||||||
|
# Experimental and only works on modern Nvidia GPUs (Turing or newer).
|
||||||
|
powerManagement.finegrained = false;
|
||||||
|
|
||||||
|
# Use the NVidia open source kernel module (not to be confused with the
|
||||||
|
# independent third-party "nouveau" open source driver).
|
||||||
|
# Support is limited to the Turing and later architectures. Full list of
|
||||||
|
# supported GPUs is at:
|
||||||
|
# https://github.com/NVIDIA/open-gpu-kernel-modules#compatible-gpus
|
||||||
|
# Only available from driver 515.43.04+
|
||||||
|
# Currently alpha-quality/buggy, so false is currently the recommended setting.
|
||||||
|
open = false;
|
||||||
|
|
||||||
|
# Enable the Nvidia settings menu,
|
||||||
|
# accessible via `nvidia-settings`.
|
||||||
|
nvidiaSettings = true;
|
||||||
|
prime.amdgpuBusId = "pci@000:04:0";
|
||||||
|
prime.nvidiaBusId = "pci@000:01:0";
|
||||||
|
|
||||||
|
prime.offload = {
|
||||||
|
enable = true;
|
||||||
|
enableOffloadCmd = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Optionally, you may need to select the appropriate driver version for your specific GPU.
|
||||||
|
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,26 +1,37 @@
|
|||||||
{pkgs, ...}: {
|
{
|
||||||
# Printing
|
lib,
|
||||||
services.printing.enable = true;
|
config,
|
||||||
services.printing.drivers = with pkgs; [gutenprint hplip splix];
|
pkgs,
|
||||||
hardware.printers = {
|
username,
|
||||||
#ensurePrinters = [
|
...
|
||||||
# {
|
}: {
|
||||||
# name = "HP_psc_1200_series";
|
options = {
|
||||||
# location = "Home";
|
sys.printing.enable = lib.mkEnableOption "Enable printing support";
|
||||||
# deviceUri = "usb://HP/psc%201200%20series?serial=UA51SGB35WT0&interface=1";
|
|
||||||
# model = "HP_psc_1200_series.ppd";
|
|
||||||
# ppdOptions = {
|
|
||||||
# PageSize = "A4";
|
|
||||||
# };
|
|
||||||
# }
|
|
||||||
#];
|
|
||||||
#ensureDefaultPrinter = "HP_psc_1200_series";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Scanning
|
config = lib.mkIf config.sys.printing.enable {
|
||||||
hardware.sane.enable = true;
|
services.printing.enable = true;
|
||||||
services.ipp-usb.enable = true;
|
services.printing.drivers = with pkgs; [gutenprint hplip splix];
|
||||||
hardware.sane.extraBackends = [pkgs.hplipWithPlugin];
|
hardware.printers = {
|
||||||
|
#ensurePrinters = [
|
||||||
|
# {
|
||||||
|
# name = "HP_psc_1200_series";
|
||||||
|
# location = "Home";
|
||||||
|
# deviceUri = "usb://HP/psc%201200%20series?serial=UA51SGB35WT0&interface=1";
|
||||||
|
# model = "HP_psc_1200_series.ppd";
|
||||||
|
# ppdOptions = {
|
||||||
|
# PageSize = "A4";
|
||||||
|
# };
|
||||||
|
# }
|
||||||
|
#];
|
||||||
|
#ensureDefaultPrinter = "HP_psc_1200_series";
|
||||||
|
};
|
||||||
|
|
||||||
users.users.foglar.extraGroups = ["lp" "scanner"];
|
# Scanning
|
||||||
|
hardware.sane.enable = true;
|
||||||
|
services.ipp-usb.enable = true;
|
||||||
|
hardware.sane.extraBackends = [pkgs.hplipWithPlugin];
|
||||||
|
|
||||||
|
users.users.${username}.extraGroups = ["lp" "scanner"];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,28 +1,33 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
|
||||||
lib,
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}: {
|
||||||
{
|
options = {
|
||||||
|
sys.sddm.enable = lib.mkEnableOption "Enable SDDM login";
|
||||||
services.displayManager = {
|
|
||||||
defaultSession = "hyprland";
|
|
||||||
sddm = {
|
|
||||||
enable = true;
|
|
||||||
wayland.enable = true;
|
|
||||||
theme = "sddm-astronaut-theme";
|
|
||||||
package = lib.mkDefault pkgs.kdePackages.sddm;
|
|
||||||
extraPackages = [pkgs.sddm-astronaut pkgs.kdePackages.qtvirtualkeyboard];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
config = lib.mkIf config.sys.sddm.enable {
|
||||||
(sddm-astronaut.override {
|
services.displayManager = {
|
||||||
themeConfig = {
|
defaultSession = "hyprland";
|
||||||
ScreenWidth = 1920;
|
sddm = {
|
||||||
ScreenHeight = 1080;
|
enable = true;
|
||||||
PartialBlur = false;
|
wayland.enable = true;
|
||||||
|
theme = "sddm-astronaut-theme";
|
||||||
|
package = lib.mkDefault pkgs.kdePackages.sddm;
|
||||||
|
extraPackages = [pkgs.sddm-astronaut pkgs.kdePackages.qtvirtualkeyboard];
|
||||||
};
|
};
|
||||||
})
|
};
|
||||||
];
|
|
||||||
}
|
environment.systemPackages = with pkgs; [
|
||||||
|
(sddm-astronaut.override {
|
||||||
|
themeConfig = {
|
||||||
|
ScreenWidth = 1920;
|
||||||
|
ScreenHeight = 1080;
|
||||||
|
PartialBlur = false;
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|||||||
@ -1,36 +1,43 @@
|
|||||||
{
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}: {
|
||||||
{
|
options = {
|
||||||
stylix = {
|
sys.style.enable = lib.mkEnableOption "Enable the Stylix theme manager.";
|
||||||
enable = true;
|
};
|
||||||
image = ../../../config/backgrounds/aurora_borealis.png;
|
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
|
|
||||||
#base16Scheme = "${pkgs.base16-schemes}/share/themes/onedark.yaml";
|
|
||||||
#base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-dark.yaml";
|
|
||||||
polarity = "dark";
|
|
||||||
autoEnable = true;
|
|
||||||
|
|
||||||
# Set the cursor theme.
|
config = lib.mkIf config.sys.style.enable {
|
||||||
cursor = {
|
stylix = {
|
||||||
package = pkgs.bibata-cursors;
|
enable = true;
|
||||||
name = "Bibata-Modern-Ice";
|
image = ../../../config/backgrounds/aurora_borealis.png;
|
||||||
size = 24;
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
|
||||||
};
|
#base16Scheme = "${pkgs.base16-schemes}/share/themes/onedark.yaml";
|
||||||
|
#base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-dark.yaml";
|
||||||
|
polarity = "dark";
|
||||||
|
autoEnable = true;
|
||||||
|
|
||||||
fonts = {
|
# Set the cursor theme.
|
||||||
sizes = {
|
cursor = {
|
||||||
desktop = 8;
|
package = pkgs.bibata-cursors;
|
||||||
applications = 10;
|
name = "Bibata-Modern-Ice";
|
||||||
popups = 10;
|
size = 24;
|
||||||
terminal = 12;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
monospace = {
|
fonts = {
|
||||||
name = "JetBrainsMono Nerd Font";
|
sizes = {
|
||||||
package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];};
|
desktop = 8;
|
||||||
|
applications = 10;
|
||||||
|
popups = 10;
|
||||||
|
terminal = 12;
|
||||||
|
};
|
||||||
|
|
||||||
|
monospace = {
|
||||||
|
name = "JetBrainsMono Nerd Font";
|
||||||
|
package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
{...}:
|
{lib, ...}: {
|
||||||
{
|
|
||||||
imports = [
|
imports = [
|
||||||
./sys/audio.nix
|
./sys/audio.nix
|
||||||
./sys/desktops.nix
|
./sys/desktops.nix
|
||||||
@ -11,4 +10,21 @@
|
|||||||
./sys/sddm.nix
|
./sys/sddm.nix
|
||||||
./sys/style.nix
|
./sys/style.nix
|
||||||
];
|
];
|
||||||
}
|
|
||||||
|
sys = {
|
||||||
|
audio.enable = lib.mkDefault true;
|
||||||
|
desktop = {
|
||||||
|
plasma.enable = lib.mkDefault true;
|
||||||
|
gnome.enable = lib.mkDefault false;
|
||||||
|
hyprland.enable = lib.mkDefault true;
|
||||||
|
};
|
||||||
|
fonts.packages = lib.mkDefault true;
|
||||||
|
locales.enable = lib.mkDefault true;
|
||||||
|
network.enable = lib.mkDefault true;
|
||||||
|
bluetooth.enable = lib.mkDefault true;
|
||||||
|
nvidia.enable = lib.mkDefault true;
|
||||||
|
printing.enable = lib.mkDefault true;
|
||||||
|
sddm.enable = lib.mkDefault true;
|
||||||
|
style.enable = lib.mkDefault true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user