feat: enable flakes

This commit is contained in:
notohh 2023-02-05 08:58:08 -05:00
parent 626300c6dc
commit 952747fb23
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 17 additions and 9 deletions

View file

@ -64,5 +64,13 @@
gh gh
]; ];
nix = {
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
warn-dirty = false
''
}
system.stateVersion = "23.05"; system.stateVersion = "23.05";
} }

View file

@ -59,17 +59,18 @@
xserver = { xserver = {
enable = true; enable = true;
videoDrivers = [ "nvidia" ]; videoDrivers = [ "nvidia" ];
displayManager = { };
gdm.enable = true; };
gdm.wayland = true;
};
desktopManager.plasma5.enable = false;
};
};
services.xserver = { services.xserver = {
layout = "us"; layout = "us";
xkbVariant = ""; xkbVariant = "";
displayManager = {
gdm = {
enable = true;
wayland = true;
};
};
}; };
programs.gnupg.agent = { programs.gnupg.agent = {
@ -125,6 +126,7 @@
packages = with pkgs; [ packages = with pkgs; [
# essential # essential
firefox firefox
neofetch
bitwarden bitwarden
spotify-player spotify-player
discord-ptb discord-ptb
@ -132,10 +134,8 @@
# dev # dev
jetbrains.pycharm-community jetbrains.pycharm-community
lazygit
# utility # utility
waybar
btop btop
nvtop nvtop
obs-studio obs-studio