mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-25 21:30:52 +01:00
feat: several changes for gallifrey
This commit is contained in:
parent
0dc51c616f
commit
7225c90bb1
3 changed files with 29 additions and 17 deletions
|
@ -37,6 +37,7 @@ import "${nixpkgs}/nixos/lib/eval-config.nix" {
|
|||
(import "${inputs.impermanence}/nixos.nix")
|
||||
(import inputs.lanzaboote).nixosModules.lanzaboote
|
||||
(import inputs.lila).nixosModules.hash-collection
|
||||
(import "${inputs.nixos-cosmic}/module.nix")
|
||||
(import "${inputs.arkheon}/module.nix")
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
profiles,
|
||||
...
|
||||
}:
|
||||
|
||||
|
@ -15,6 +16,7 @@
|
|||
arch = "x86_64-linux";
|
||||
nixpkgs_version = inputs.unstable;
|
||||
hm_version = inputs.home-manager-unstable;
|
||||
profiles = with profiles; [ sound ];
|
||||
};
|
||||
|
||||
networking.hostName = "gallifrey";
|
||||
|
@ -27,32 +29,31 @@
|
|||
services.resolved.enable = true;
|
||||
#services.userborn.enable = true;
|
||||
|
||||
services.displayManager.autoLogin = {
|
||||
enable = true;
|
||||
user = "julien";
|
||||
};
|
||||
security.pam.loginLimits = [
|
||||
{
|
||||
domain = "*";
|
||||
type = "-";
|
||||
item = "nofile";
|
||||
value = "262144";
|
||||
}
|
||||
];
|
||||
|
||||
disko = import ./disko.nix;
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager = {
|
||||
gdm.enable = true;
|
||||
};
|
||||
desktopManager.gnome.enable = true;
|
||||
videoDrivers = [ "nvidia" ];
|
||||
};
|
||||
services.desktopManager.cosmic.enable = true;
|
||||
services.displayManager.cosmic-greeter.enable = true;
|
||||
|
||||
hardware.opengl.enable = true;
|
||||
boot.extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ];
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
|
||||
hardware.graphics.enable = true;
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = false;
|
||||
powerManagement.finegrained = false;
|
||||
open = true;
|
||||
open = false;
|
||||
nvidiaSettings = true;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||
};
|
||||
|
||||
programs.xwayland.enable = true;
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
fira-code
|
||||
feh
|
||||
meld
|
||||
vlc
|
||||
nerdfonts
|
||||
jetbrains-mono
|
||||
cantarell-fonts
|
||||
|
@ -68,10 +67,15 @@
|
|||
scli
|
||||
jftui
|
||||
texlive.combined.scheme-full
|
||||
unstable.inochi-creator
|
||||
inochi-creator
|
||||
inochi-session
|
||||
chromium
|
||||
gh
|
||||
ouch
|
||||
spotify
|
||||
gnome.nautilus
|
||||
pika-backup
|
||||
mpv
|
||||
];
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
|
@ -83,6 +87,12 @@
|
|||
".ssh"
|
||||
"dev"
|
||||
".mozilla"
|
||||
".config/cosmic"
|
||||
".local/share/direnv"
|
||||
".local/state/cosmic-comp"
|
||||
".config/Signal"
|
||||
".cache/spotify"
|
||||
".config/spotify"
|
||||
];
|
||||
allowOther = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue