This commit is contained in:
Tasia Iso 2024-04-22 22:03:23 +02:00
parent ad673fbcf7
commit 12e9a3eebc
Signed by: tasiaiso
SSH key fingerprint: SHA256:KiRjUay5C9i6objsEOIycygBHn54pDBB3Lj7fyJ0Elw
7 changed files with 17 additions and 29 deletions

View file

@ -2,6 +2,8 @@
## File system structure
this is outdated
- `common`: stores all Nix files which are shared by all system configs
- `de`: Desktop environments and their parameters
- `hardware`: self-explenatory

View file

@ -52,6 +52,19 @@
outputs.overlays.modifications
outputs.overlays.unstable-packages
];
# Unfree packages that can be installes regardless of the mchine's fre software policy
config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
# Steam
"steam"
"steam-original"
"steam-run"
# Nvidia drivers
"nvidia-x11"
"nvidia-settings"
];
};
# Some programs need SUID wrappers, can be configured further or are

View file

@ -1,15 +0,0 @@
{pkgs, ...}: {
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --time-format '%I:%M %p | %a %h | %F' --cmd Hyprland";
user = "greeter";
};
};
};
environment.systemPackages = with pkgs; [
greetd.tuigreet
];
}

View file

@ -32,17 +32,4 @@
yazi
vulnix # once im on stable
];
# Unfree packages that can be installes regardless of whether "allow-unfree.nix" is imported
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
# Steam
"steam"
"steam-original"
"steam-run"
# Nvidia drivers
"nvidia-x11"
"nvidia-settings"
];
}

View file

@ -3,5 +3,5 @@
./components/sound.nix
./components/printing.nix
./components/packages-full.nix
]
];
}

View file

@ -29,6 +29,7 @@ in {
../../common/components/de/hyprland.nix
../../common/programs/steam.nix
../../common/services/adguardhome.nix
../../common/services/syncthing.nix
../../common/services/usbguard.nix