break out

This commit is contained in:
2026-04-13 15:57:32 +02:00
parent f80abd24e6
commit aea03142e7
14 changed files with 154 additions and 94 deletions
+3 -51
View File
@@ -1,10 +1,13 @@
{
inputs,
nixosModules,
pkgs,
userName,
...
}:
{
imports = [ nixosModules.packages.common ];
nixpkgs.config.allowUnfree = true;
nix = {
@@ -27,14 +30,6 @@
};
};
boot.loader.systemd-boot = {
enable = true;
configurationLimit = 10;
edk2-uefi-shell.enable = true;
};
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.grub.enable = false;
i18n = rec {
defaultLocale = "en_US.UTF-8";
extraLocales = [ "sv_SE.UTF-8/UTF-8" ];
@@ -96,51 +91,8 @@
environment.sessionVariables = {
EDITOR = "nvim";
NIXOS_OZONE_WL = "1";
};
environment.systemPackages = with pkgs; [
inputs."lolcat++".packages.${pkgs.stdenv.hostPlatform.system}.default
file
cowsay
fortune
bat
fastfetch
curl
eza
fzf
git
git-lfs
ripgrep
neovim
odt2txt
openssl
stow
tpm2-tools
unzip
wget
killall
tealdeer
yazi
fd
efibootmgr
nil
gcc
clang
gnumake
cmake
ninja
pkg-config
binutils
gdb
nodejs
rustup
];
security.sudo.wheelNeedsPassword = true;
users.users.${userName}.openssh.authorizedKeys.keys = [ ];
+1
View File
@@ -5,5 +5,6 @@
luksInitrdSshUnlock = import ./luks-initrd-ssh-unlock.nix;
luksTpm2 = import ./luks-tpm2.nix;
mailServer = import ./mail-server;
packages = import ./packages;
zfsRoot = import ./zfs-root.nix;
}
+10 -43
View File
@@ -1,5 +1,14 @@
{ pkgs, ... }:
{
nixosModules,
pkgs,
...
}:
{
imports = [
nixosModules.packages.desktop
nixosModules.packages.python
];
programs.dconf.enable = true;
programs.hyprland = {
enable = true;
@@ -67,48 +76,6 @@
emoji = [ "Noto Color Emoji" ];
};
environment.systemPackages = with pkgs; [
brightnessctl
catfish
cliphist
dunst
ffmpegthumbnailer
firefox
flatpak
ghostty
gcr
glib
grim
hypridle
hyprlock
hyprpaper
jq
kdePackages.breeze
libgsf
libnotify
libsecret
libsForQt5.qt5ct
libsForQt5.qtstyleplugin-kvantum
mpv
networkmanagerapplet
pavucontrol
papirus-icon-theme
playerctl
python3
qt6Packages.qt6ct
qt6Packages.qtstyleplugin-kvantum
rofi
slurp
socat
waybar
wezterm
wl-clipboard
ristretto
thunar-archive-plugin
thunar-volman
zathura
];
systemd.user.services.hyprpolkitagent = {
description = "Hyprland polkit agent";
wantedBy = [ "graphical-session.target" ];
+13
View File
@@ -0,0 +1,13 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
binutils
clang
cmake
gcc
gdb
gnumake
ninja
pkg-config
];
}
+32
View File
@@ -0,0 +1,32 @@
{
inputs,
pkgs,
...
}:
{
environment.systemPackages = with pkgs; [
inputs."lolcat++".packages.${pkgs.stdenv.hostPlatform.system}.default
bat
cowsay
curl
eza
fastfetch
fd
file
fortune
fzf
git
git-lfs
killall
neovim
odt2txt
openssl
ripgrep
stow
tealdeer
unzip
wget
yazi
];
}
+11
View File
@@ -0,0 +1,11 @@
{
c = import ./c.nix;
common = import ./common.nix;
desktop = import ./desktop.nix;
nix = import ./nix.nix;
node = import ./node.nix;
python = import ./python.nix;
rust = import ./rust.nix;
tpm = import ./tpm.nix;
uefi = import ./uefi.nix;
}
+43
View File
@@ -0,0 +1,43 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
brightnessctl
catfish
cliphist
dunst
ffmpegthumbnailer
firefox
flatpak
gcr
ghostty
glib
grim
hypridle
hyprlock
hyprpaper
jq
kdePackages.breeze
libgsf
libnotify
libsecret
libsForQt5.qt5ct
libsForQt5.qtstyleplugin-kvantum
mpv
networkmanagerapplet
papirus-icon-theme
pavucontrol
playerctl
qt6Packages.qt6ct
qt6Packages.qtstyleplugin-kvantum
ristretto
rofi
slurp
socat
thunar-archive-plugin
thunar-volman
waybar
wezterm
wl-clipboard
zathura
];
}
+4
View File
@@ -0,0 +1,4 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [ nil ];
}
+4
View File
@@ -0,0 +1,4 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [ nodejs ];
}
+4
View File
@@ -0,0 +1,4 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [ python3 ];
}
+4
View File
@@ -0,0 +1,4 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [ rustup ];
}
+4
View File
@@ -0,0 +1,4 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [ tpm2-tools ];
}
+4
View File
@@ -0,0 +1,4 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [ efibootmgr ];
}