Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4eb366d177 | |||
| ef9c24d1f7 | |||
| 5090b0e868 | |||
| 85c4d8423c | |||
| 2dfb457573 | |||
| 0dbed134fe | |||
| 48b549b81f | |||
| b5c14e30ff | |||
| 2d0a53198d | |||
| 9b8f412e14 | |||
| 87ec7d68cd | |||
| 9e3f80b840 | |||
| e7579263f4 | |||
| 619043b5be | |||
| e12e066209 |
5 changed files with 50 additions and 21 deletions
|
|
@ -9,11 +9,12 @@
|
||||||
|
|
||||||
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_latest;
|
boot.kernelPackages = pkgs.linuxPackages;
|
||||||
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;
|
||||||
|
|
@ -40,13 +41,14 @@
|
||||||
variant = "";
|
variant = "";
|
||||||
};
|
};
|
||||||
security.doas.enable = true;
|
security.doas.enable = true;
|
||||||
security.sudo.enable = true;
|
security.sudo.enable = false;
|
||||||
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
|
||||||
}
|
}
|
||||||
|
|
@ -100,13 +102,31 @@
|
||||||
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?
|
||||||
|
|
|
||||||
31
flake.nix
31
flake.nix
|
|
@ -3,10 +3,18 @@
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||||
home-manager.url = "github:nix-community/home-manager";
|
home-manager = {
|
||||||
nix-easyroam.url = "github:0x5a4/nix-easyroam";
|
url = "github:nix-community/home-manager";
|
||||||
nixvim.url = "github:nix-community/nixvim";
|
};
|
||||||
nixcord.url = "github:FlameFlag/nixcord";
|
nix-easyroam = {
|
||||||
|
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";
|
||||||
|
|
@ -31,12 +39,13 @@
|
||||||
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.useUserPackages = true;
|
home-manager.users.lucy = ./home/home.nix;
|
||||||
# home-manager.useGlobalPkgs = true;
|
# home-manager.useUserPackages = true;
|
||||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
# home-manager.useGlobalPkgs = true;
|
||||||
}
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
homeConfigurations."lucy" = home-manager.lib.homeManagerConfiguration {
|
homeConfigurations."lucy" = home-manager.lib.homeManagerConfiguration {
|
||||||
|
|
@ -45,7 +54,7 @@
|
||||||
./home/home.nix
|
./home/home.nix
|
||||||
stylix.homeModules.stylix
|
stylix.homeModules.stylix
|
||||||
nixvim.homeModules.nixvim
|
nixvim.homeModules.nixvim
|
||||||
nixcord.homeModules.nixcord
|
nixcord.homeModules.nixcord
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
# 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";
|
||||||
|
|
|
||||||
|
|
@ -12,5 +12,4 @@
|
||||||
nixcord.enable = true;
|
nixcord.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
stylix.cursor = {
|
stylix.cursor = {
|
||||||
name = "capitaine-cursors";
|
name = "capitaine-cursors";
|
||||||
package = pkgs.capitaine-cursors;
|
package = pkgs.capitaine-cursors;
|
||||||
size = 24;
|
size = 32;
|
||||||
};
|
};
|
||||||
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/gruvbox-dark-soft.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/oxocarbon-dark.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 = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue