From 6f3d902c673ed3601ba9e3fd2072af81c6fd1723 Mon Sep 17 00:00:00 2001 From: notohh Date: Tue, 6 Dec 2022 21:36:50 -0500 Subject: [PATCH] polkit stuff --- configuration.nix | 35 ++++++++++++++++++++++++++++++----- flake.nix | 5 +++-- modules/hyprland/default.nix | 2 +- modules/systemd/default.nix | 0 4 files changed, 34 insertions(+), 8 deletions(-) create mode 100644 modules/systemd/default.nix diff --git a/configuration.nix b/configuration.nix index 59b47c5..b816ad3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -63,7 +63,7 @@ xkbVariant = ""; }; - services.printing.enable = true; + services.printing.enable = true; sound.enable = true; hardware.pulseaudio.enable = false; @@ -74,17 +74,21 @@ alsa.support32Bit = true; pulse.enable = true; }; - + + # enable fish programs.fish.enable = true; users.defaultUserShell = pkgs.fish; + #polkit security.polkit.enable = true; + #users users.users.notoh = { isNormalUser = true; description = "notoh"; - extraGroups = [ "networkmanager" "wheel" ]; + extraGroups = [ "networkmanager" "wheel" "disk" "video" ]; packages = with pkgs; [ + # essential firefox neovim neofetch @@ -92,8 +96,28 @@ spotify discord waybar - obsidian + + # utility + + hyprpaper + streamlink + ranger btop + obsidian + lazygit + + # gaming + steam + wine + lutris + bottles + + # fun stuff + + cbonsai + pipes-rs + cmatrix + ]; }; @@ -104,7 +128,6 @@ git alacritty gcc - kitty stow starship rustup @@ -114,6 +137,8 @@ nodejs polkit_gnome appimage-run + wlogout + dunst ]; system.stateVersion = "23.05"; # Did you read the comment? diff --git a/flake.nix b/flake.nix index f916dfb..27d84f3 100644 --- a/flake.nix +++ b/flake.nix @@ -35,10 +35,10 @@ hyprland.nixosModules.default { programs.hyprland.enable = true; } - ]; }; - }; + }; + # Standalone home-manager configuration entrypoint # Available through 'home-manager --flake .#your-username@your-hostname' @@ -51,4 +51,5 @@ }; }; }; + } diff --git a/modules/hyprland/default.nix b/modules/hyprland/default.nix index 8bc067b..5ca05f9 100644 --- a/modules/hyprland/default.nix +++ b/modules/hyprland/default.nix @@ -41,8 +41,8 @@ in glib gnome3.adwaita-icon-theme grim + slurp wl-clipboard - bemenu wlr-randr wofi ]; diff --git a/modules/systemd/default.nix b/modules/systemd/default.nix new file mode 100644 index 0000000..e69de29