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.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages; boot.kernelPackages = pkgs.linuxPackages_latest;
nix.settings.experimental-features = [ nix.settings.experimental-features = [
"nix-command" "nix-command"
"flakes" "flakes"
]; ];
nix.package = pkgs.lixPackageSets.stable.lix;
nix.settings.trusted-users = [ "lucy" ]; nix.settings.trusted-users = [ "lucy" ];
networking.hostName = "nixos"; # Define your hostname. networking.hostName = "nixos"; # Define your hostname.
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
@ -41,14 +40,13 @@
variant = ""; variant = "";
}; };
security.doas.enable = true; security.doas.enable = true;
security.sudo.enable = false; security.sudo.enable = true;
security.doas.extraRules = [ security.doas.extraRules = [
{ {
users = [ users = [
"lucy" "lucy"
"root" "root"
]; ];
groups = [ "wheel" ];
keepEnv = true; keepEnv = true;
persist = true; # Optional, only require password verification a single time persist = true; # Optional, only require password verification a single time
} }
@ -102,31 +100,13 @@
clang-tools clang-tools
gcc gcc
cargo cargo
lua-language-server
rust-analyzer
nixd
nixfmt
gnomeExtensions.user-themes gnomeExtensions.user-themes
gnomeExtensions.blur-my-shell 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!! # DO NOT CHANGE!!
system.stateVersion = "26.05"; # Did you read the comment? system.stateVersion = "26.05"; # Did you read the comment?

View file

@ -3,18 +3,10 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
home-manager = { home-manager.url = "github:nix-community/home-manager";
url = "github:nix-community/home-manager"; nix-easyroam.url = "github:0x5a4/nix-easyroam";
}; nixvim.url = "github:nix-community/nixvim";
nix-easyroam = { nixcord.url = "github:FlameFlag/nixcord";
url = "github:0x5a4/nix-easyroam";
};
nixvim = {
url = "github:nix-community/nixvim";
};
nixcord = {
url = "github:FlameFlag/nixcord";
};
stylix = { stylix = {
url = "github:nix-community/stylix"; url = "github:nix-community/stylix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -39,8 +31,7 @@
nix-easyroam.nixosModules.nix-easyroam nix-easyroam.nixosModules.nix-easyroam
stylix.nixosModules.stylix stylix.nixosModules.stylix
nixvim.nixosModules.nixvim nixvim.nixosModules.nixvim
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager {
{
home-manager.users.lucy = ./home/home.nix; home-manager.users.lucy = ./home/home.nix;
# home-manager.useUserPackages = true; # home-manager.useUserPackages = true;
# home-manager.useGlobalPkgs = true; # home-manager.useGlobalPkgs = true;

View file

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

View file

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

View file

@ -13,7 +13,7 @@
stylix.cursor = { stylix.cursor = {
name = "capitaine-cursors"; name = "capitaine-cursors";
package = pkgs.capitaine-cursors; package = pkgs.capitaine-cursors;
size = 32; size = 24;
}; };
stylix.icons = { stylix.icons = {
enable = true; enable = true;
@ -24,15 +24,15 @@
stylix = { stylix = {
enable = true; enable = true;
autoEnable = false; autoEnable = false;
base16Scheme = "${pkgs.base16-schemes}/share/themes/oxocarbon-dark.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-soft.yaml";
polarity = "dark"; polarity = "dark";
image = ./wallpaper.png; image = ./wallpaper.png;
targets = { targets = {
console.enable = true; console.enable = true;
gnome.enable = true;
gtk.enable = true; gtk.enable = true;
qt.enable = true; qt.enable = true;
nixvim.enable = true; nixvim.enable = true;
gnome.enable = true;
}; };
fonts = { fonts = {
sizes = { sizes = {