From 945e50e641b181740a8bb4d55d833fe42078801e Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Tue, 26 Mar 2024 20:13:35 -0400 Subject: [PATCH] petalburg: added dustin, switched to gnome --- home/dustin-gnome.nix | 12 ++++++++++++ hosts/petalburg/default.nix | 6 ++++-- users/dustin.nix | 10 ++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 home/dustin-gnome.nix create mode 100644 users/dustin.nix diff --git a/home/dustin-gnome.nix b/home/dustin-gnome.nix new file mode 100644 index 00000000..5a2e21f4 --- /dev/null +++ b/home/dustin-gnome.nix @@ -0,0 +1,12 @@ +{ config, pkgs, ... }: + +{ + imports = [ ./gnome ./common-gui.nix ]; + home.username = "dustin"; + home.homeDirectory = "/home/dustin"; + + home.stateVersion = "23.11"; + programs.home-manager.enable = true; + + services.syncthing.enable = true; +} diff --git a/hosts/petalburg/default.nix b/hosts/petalburg/default.nix index 7131c704..f2791819 100644 --- a/hosts/petalburg/default.nix +++ b/hosts/petalburg/default.nix @@ -54,11 +54,12 @@ let in { imports = [ # ../../modules/kde.nix - ../../modules/hyprland.nix + ../../modules/gnome ../../modules/plymouth.nix ../../modules/zram_swap.nix ../../system ../../users/aly.nix + ../../users/dustin.nix ./hardware-configuration.nix # Include the results of the hardware scan. ]; @@ -76,7 +77,8 @@ in { powerManagement.powertop.enable = true; services.thermald.enable = true; - home-manager.users.aly = import ../../home/aly-hyprland.nix; + home-manager.users.aly = import ../../home/aly-gnome.nix; + home-manager.users.dustin = import ../../home/dustin-gnome.nix; environment.systemPackages = [ cs-adjuster cs-adjuster-plasma pp-adjuster ]; diff --git a/users/dustin.nix b/users/dustin.nix new file mode 100644 index 00000000..954f0235 --- /dev/null +++ b/users/dustin.nix @@ -0,0 +1,10 @@ +{ config, pkgs, ... }: + +{ + # Define a user account. Don't forget to set a password with ‘passwd’. + users.users.dustin = { + isNormalUser = true; + description = "Dustin Raffauf"; + extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" "video" ]; + }; +}