Compare commits

..
5 changed files with 21 additions and 50 deletions

View file

@ -9,12 +9,11 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages;
boot.kernelPackages = pkgs.linuxPackages_latest;
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;
@ -41,14 +40,13 @@
variant = "";
};
security.doas.enable = true;
security.sudo.enable = false;
security.sudo.enable = true;
security.doas.extraRules = [
{
users = [
"lucy"
"root"
];
groups = [ "wheel" ];
keepEnv = true;
persist = true; # Optional, only require password verification a single time
}
@ -102,31 +100,13 @@
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?

View file

@ -3,18 +3,10 @@
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";
@ -39,13 +31,12 @@
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 {
@ -54,7 +45,7 @@
./home/home.nix
stylix.homeModules.stylix
nixvim.homeModules.nixvim
nixcord.homeModules.nixcord
nixcord.homeModules.nixcord
];
};
};

View file

@ -14,7 +14,6 @@
# paths it should manage.
home.packages = with pkgs; [
rnote
git
];
home.username = "lucy";
home.homeDirectory = "/home/lucy";

View file

@ -12,4 +12,5 @@
nixcord.enable = true;
};
};
}

View file

@ -13,7 +13,7 @@
stylix.cursor = {
name = "capitaine-cursors";
package = pkgs.capitaine-cursors;
size = 32;
size = 24;
};
stylix.icons = {
enable = true;
@ -24,15 +24,15 @@
stylix = {
enable = true;
autoEnable = false;
base16Scheme = "${pkgs.base16-schemes}/share/themes/oxocarbon-dark.yaml";
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-soft.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 = {