Fix folder paths, set Tower back to stable, remove Nix channels for system for now

This commit is contained in:
Bun 2025-05-11 01:48:37 -04:00
parent f8ba0f4514
commit f8cbfda048
12 changed files with 42 additions and 39 deletions

View file

@ -9,6 +9,7 @@
./impermanence
./locale
./nix
./nixgl
./qt
./xdg
];

View file

@ -5,7 +5,8 @@
"file://${config.home.homeDirectory}/Downloads"
"file://${config.home.homeDirectory}/Documents"
"file://${config.home.homeDirectory}/Videos"
"file://${config.home.homeDirectory}/Pictures/Screenshots"
"file://${config.home.homeDirectory}/Photos"
"file://${config.home.homeDirectory}/Photos/Screenshots"
"file:///etc/nixos"
];
}

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, stable, unstable, ... }:
{ config, pkgs, stable, unstable, ... }:
with pkgs; {
nix.registry.stable.flake = stable;
nix.registry.unstable.flake = unstable;

View file

@ -1,6 +1,6 @@
{ config, lib, ... }:
with lib; {
options.nixpkgs.allowUnfreePackages = mkOption {
{
options.nixpkgs.allowUnfreePackages = with lib; mkOption {
type = types.listOf types.str;
default = [];
};

View file

@ -0,0 +1,10 @@
{ config, lib, ... }:
{
nixGL = lib.mkIf config.targets.genericLinux.enable {
installScripts = [
"mesa"
"nvidia"
];
vulkan.enable = true;
};
}

View file

@ -3,11 +3,13 @@
xdg.userDirs = {
enable = config.home.desktop.enable;
createDirectories = true;
desktop = null;
pictures = "${config.home.homeDirectory}/Photos";
music = null;
publicShare = null;
templates = null;
extraConfig.XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
};
}