mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
moved files to make more sense and added experimental desktop configuration
This commit is contained in:
parent
22c5b6f826
commit
50fae0b2eb
38 changed files with 533 additions and 191 deletions
36
systems/gerg-desktop.nix
Executable file
36
systems/gerg-desktop.nix
Executable file
|
|
@ -0,0 +1,36 @@
|
|||
{ config, pkgs, callPackage, lib, ... }:
|
||||
{
|
||||
#important stuff first
|
||||
imports =
|
||||
[
|
||||
../modules/boot.nix
|
||||
../modules/packages.nix
|
||||
../modules/nvidia.nix
|
||||
../modules/fonts.nix
|
||||
../modules/thunar.nix
|
||||
../modules/scripts.nix
|
||||
../modules/misc.nix
|
||||
../modules/vfio.nix
|
||||
];
|
||||
networking.hostName = "gerg-desktop";
|
||||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
};
|
||||
services.xserver = import ../modules/xserver.nix;
|
||||
system.stateVersion = "22.11";
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
# end important stuff
|
||||
|
||||
# user managment
|
||||
users = {
|
||||
defaultUserShell = pkgs.zsh;
|
||||
users.gerg = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "audio" "networkmanager" "libvirt" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
36
systems/gerg-laptop.nix
Executable file
36
systems/gerg-laptop.nix
Executable file
|
|
@ -0,0 +1,36 @@
|
|||
{ config, pkgs, callPackage, lib, ... }:
|
||||
{
|
||||
#important stuff first
|
||||
imports =
|
||||
[
|
||||
../modules/boot.nix
|
||||
../modules/prime.nix
|
||||
../modules/nvidia.nix
|
||||
../modules/packages.nix
|
||||
../modules/fonts.nix
|
||||
../modules/thunar.nix
|
||||
../modules/scripts.nix
|
||||
../modules/misc.nix
|
||||
../modules/xserver.nix
|
||||
];
|
||||
networking.hostName = "gerg-laptop";
|
||||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
};
|
||||
system.stateVersion = "22.11";
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
# end important stuff
|
||||
|
||||
# user managment
|
||||
users = {
|
||||
defaultUserShell = pkgs.zsh;
|
||||
users.gerg = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "audio" "networkmanager"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue