Fix folder paths, set Tower back to stable, remove Nix channels for system for now
This commit is contained in:
parent
f8ba0f4514
commit
f8cbfda048
12 changed files with 42 additions and 39 deletions
|
@ -9,6 +9,7 @@
|
|||
./impermanence
|
||||
./locale
|
||||
./nix
|
||||
./nixgl
|
||||
./qt
|
||||
./xdg
|
||||
];
|
||||
|
|
|
@ -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"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, ... }:
|
||||
with lib; {
|
||||
options.nixpkgs.allowUnfreePackages = mkOption {
|
||||
{
|
||||
options.nixpkgs.allowUnfreePackages = with lib; mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [];
|
||||
};
|
||||
|
|
10
modules/home/settings/nixgl/default.nix
Normal file
10
modules/home/settings/nixgl/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
nixGL = lib.mkIf config.targets.genericLinux.enable {
|
||||
installScripts = [
|
||||
"mesa"
|
||||
"nvidia"
|
||||
];
|
||||
vulkan.enable = true;
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue