diff --git a/configuration.nix b/configuration.nix index 38bd116..41eacd1 100644 --- a/configuration.nix +++ b/configuration.nix @@ -9,11 +9,12 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - boot.kernelPackages = pkgs.linuxPackages_latest; + boot.kernelPackages = pkgs.linuxPackages; nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.package = pkgs.lixPackageSets.stable.lix; nix.settings.trusted-users = [ "lucy" ]; networking.hostName = "nixos"; # Define your hostname. networking.networkmanager.enable = true; @@ -40,13 +41,14 @@ variant = ""; }; security.doas.enable = true; - security.sudo.enable = true; + security.sudo.enable = false; security.doas.extraRules = [ { users = [ "lucy" "root" ]; + groups = [ "wheel" ]; keepEnv = true; persist = true; # Optional, only require password verification a single time } @@ -100,13 +102,31 @@ clang-tools gcc cargo - lua-language-server - rust-analyzer - nixd - nixfmt gnomeExtensions.user-themes gnomeExtensions.blur-my-shell ]; + environment.gnome.excludePackages = with pkgs; [ + cheese # photo booth + eog # image viewer + epiphany # web browser + gedit # text editor + simple-scan # document scanner + totem # video player + yelp # help viewer + geary # email client + seahorse # password manager + + # these should be self explanatory + gnome-calendar + gnome-characters + gnome-clocks + gnome-contacts + gnome-font-viewer + gnome-logs + gnome-maps + gnome-music + gnome-weather + ]; # DO NOT CHANGE!! system.stateVersion = "26.05"; # Did you read the comment? diff --git a/flake.nix b/flake.nix index 4d1a68a..f6075bb 100644 --- a/flake.nix +++ b/flake.nix @@ -3,10 +3,18 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; - home-manager.url = "github:nix-community/home-manager"; - nix-easyroam.url = "github:0x5a4/nix-easyroam"; - nixvim.url = "github:nix-community/nixvim"; - nixcord.url = "github:FlameFlag/nixcord"; + home-manager = { + url = "github:nix-community/home-manager"; + }; + nix-easyroam = { + url = "github:0x5a4/nix-easyroam"; + }; + nixvim = { + url = "github:nix-community/nixvim"; + }; + nixcord = { + url = "github:FlameFlag/nixcord"; + }; stylix = { url = "github:nix-community/stylix"; inputs.nixpkgs.follows = "nixpkgs"; @@ -31,12 +39,13 @@ nix-easyroam.nixosModules.nix-easyroam stylix.nixosModules.stylix nixvim.nixosModules.nixvim - home-manager.nixosModules.home-manager { - home-manager.users.lucy = ./home/home.nix; -# home-manager.useUserPackages = true; -# home-manager.useGlobalPkgs = true; - home-manager.extraSpecialArgs = { inherit inputs; }; - } + home-manager.nixosModules.home-manager + { + home-manager.users.lucy = ./home/home.nix; + # home-manager.useUserPackages = true; + # home-manager.useGlobalPkgs = true; + home-manager.extraSpecialArgs = { inherit inputs; }; + } ]; }; homeConfigurations."lucy" = home-manager.lib.homeManagerConfiguration { @@ -45,7 +54,7 @@ ./home/home.nix stylix.homeModules.stylix nixvim.homeModules.nixvim - nixcord.homeModules.nixcord + nixcord.homeModules.nixcord ]; }; }; diff --git a/home/home.nix b/home/home.nix index d642d97..b847923 100644 --- a/home/home.nix +++ b/home/home.nix @@ -14,6 +14,7 @@ # paths it should manage. home.packages = with pkgs; [ rnote + git ]; home.username = "lucy"; home.homeDirectory = "/home/lucy"; diff --git a/home/stylix.nix b/home/stylix.nix index 29b65ee..628cd40 100644 --- a/home/stylix.nix +++ b/home/stylix.nix @@ -12,5 +12,4 @@ nixcord.enable = true; }; }; - } diff --git a/stylix.nix b/stylix.nix index 85661f9..acc9a7c 100644 --- a/stylix.nix +++ b/stylix.nix @@ -13,7 +13,7 @@ stylix.cursor = { name = "capitaine-cursors"; package = pkgs.capitaine-cursors; - size = 24; + size = 32; }; stylix.icons = { enable = true; @@ -24,15 +24,15 @@ stylix = { enable = true; autoEnable = false; - base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-soft.yaml"; + base16Scheme = "${pkgs.base16-schemes}/share/themes/oxocarbon-dark.yaml"; polarity = "dark"; image = ./wallpaper.png; targets = { console.enable = true; - gnome.enable = true; gtk.enable = true; qt.enable = true; nixvim.enable = true; + gnome.enable = true; }; fonts = { sizes = {