add ignis to flake

This commit is contained in:
lucy 2026-03-04 16:48:43 +01:00
parent 4c6e646189
commit 9e08a8e805
9 changed files with 106 additions and 26 deletions

View File

@ -19,10 +19,12 @@
noto-fonts-cjk-sans noto-fonts-cjk-sans
noto-fonts noto-fonts
nerd-fonts._0xproto nerd-fonts._0xproto
gnome-tweaks
]; ];
}; };
services.displayManager.gdm.enable = true; services.displayManager.gdm.enable = true;
services.desktopManager.gnome.enable = true; services.desktopManager.gnome.enable = true;
programs.hyprland.enable = true;
boot = { boot = {
@ -58,7 +60,17 @@
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
security.sudo.enable = true; security.doas.enable = true;
security.sudo.enable = false;
security.doas.extraRules = [
{
users = [ "foo" ];
# Optional, retains environment variables while running commands
# e.g. retains your NIX_PATH when applying your config
keepEnv = true;
persist = true; # Optional, only require password verification a single time
}
];
# Use latest kernel. # Use latest kernel.
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
@ -127,6 +139,7 @@
fastfetch fastfetch
gnomeExtensions.blur-my-shell gnomeExtensions.blur-my-shell
gnomeExtensions.appindicator gnomeExtensions.appindicator
gnomeExtensions.just-perfection
]; ];
programs.steam = { programs.steam = {

43
flake.lock generated
View File

@ -179,6 +179,48 @@
"type": "github" "type": "github"
} }
}, },
"ignis": {
"inputs": {
"ignis-gvc": "ignis-gvc",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1767456002,
"narHash": "sha256-q+ZYdTMLr0RCfN5qxOl56CbZBj702hYY2H5dOLynW+o=",
"owner": "ignis-sh",
"repo": "ignis",
"rev": "5fd140227c0f2d9d65a98d4af78b95b1558966da",
"type": "github"
},
"original": {
"owner": "ignis-sh",
"repo": "ignis",
"type": "github"
}
},
"ignis-gvc": {
"inputs": {
"nixpkgs": [
"ignis",
"nixpkgs"
]
},
"locked": {
"lastModified": 1754064086,
"narHash": "sha256-ft5KvY2OYrWF+jEsfBL/Zx8Iuo2C10C6COk8wHwZw34=",
"owner": "ignis-sh",
"repo": "ignis-gvc",
"rev": "f2c9f10d8b49cc38106a2f07a51ea959c6aa4e63",
"type": "github"
},
"original": {
"owner": "ignis-sh",
"repo": "ignis-gvc",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1770841267, "lastModified": 1770841267,
@ -304,6 +346,7 @@
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"ignis": "ignis",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"nixvim": "nixvim", "nixvim": "nixvim",
"spicetify-nix": "spicetify-nix", "spicetify-nix": "spicetify-nix",

View File

@ -6,6 +6,10 @@
nixvim.url = "github:nix-community/nixvim"; nixvim.url = "github:nix-community/nixvim";
home-manager.url = "github:nix-community/home-manager"; home-manager.url = "github:nix-community/home-manager";
ignis = {
url = "github:ignis-sh/ignis";
inputs.nixpkgs.follows = "nixpkgs"; # recommended
};
}; };
outputs = outputs =
@ -16,7 +20,7 @@
nixvim, nixvim,
home-manager, home-manager,
... ...
}: }@inputs:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; }; pkgs = import nixpkgs { inherit system; };
@ -48,6 +52,7 @@
homeConfigurations.lucy = home-manager.lib.homeManagerConfiguration { homeConfigurations.lucy = home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
extraSpecialArgs = { inherit inputs; };
modules = [ modules = [
stylix.homeModules.stylix stylix.homeModules.stylix
nixvim.homeModules.nixvim nixvim.homeModules.nixvim

View File

@ -17,6 +17,16 @@
# You should not change this value, even if you update Home Manager. If you do # You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager # want to update the value, then make sure to first check the Home Manager
# release notes. # release notes.
home.pointerCursor = {
gtk.enable = true;
x11.enable = true;
package = pkgs.runCommand "teto-cursors" { } ''
mkdir -p $out/share/icons
ln -s /home/lucy/.icons/tetoW/ $out/share/icons/
'';
name = "tetoW";
size = 48;
};
programs.zsh = { programs.zsh = {
enable = true; enable = true;

View File

@ -45,8 +45,7 @@
]; ];
}; };
input = { input = {
kb_layout = "de"; kb_layout = "eu";
kb_options = "nodeadkeys";
sensitivity = 0.3; sensitivity = 0.3;
accel_profile = "flat"; accel_profile = "flat";
natural_scroll = true; natural_scroll = true;
@ -123,14 +122,5 @@
"$mod, mouse:272, movewindow" "$mod, mouse:272, movewindow"
"alt, mouse:272, resizewindow" "alt, mouse:272, resizewindow"
]; ];
layerrule = [
"noanim, walker"
];
windowrule = [
"float, class:^(waypaper)"
"float, class:^(Ryujinx)"
"suppressevent maximize, class:.*"
"nofocus, class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0"
];
}; };
} }

View File

@ -1,9 +1,11 @@
{ {
config, config,
pkgs, pkgs,
inputs,
... ...
}: }:
{ {
imports = [ inputs.ignis.homeManagerModules.default ];
home.packages = with pkgs; [ home.packages = with pkgs; [
nixfmt nixfmt
google-chrome google-chrome
@ -19,8 +21,9 @@
fd fd
ripgrep ripgrep
ani-cli ani-cli
cinny-desktop element-desktop
(discord.override { gnome-tweaks
(discord.override {
withOpenASAR = true; # can do this here too withOpenASAR = true; # can do this here too
withVencord = true; withVencord = true;
}) })
@ -33,6 +36,27 @@
}; };
}; };
programs.ignis = {
enable = true;
addToPythonEnv = true;
services = {
bluethooth.enable = true;
recorder.enable = true;
audio.enable = true;
network.enable = true;
hyprland.enable = true;
};
sass = {
enable = true;
useDartSass = true;
};
extraPackages = with pkgs; [
hello
python313Packages.jinja2
python313Packages.materialyoucolor
python313Packages.pillow
];
};
programs.spicetify.enable = true; programs.spicetify.enable = true;
programs.fastfetch = { programs.fastfetch = {
enable = true; enable = true;
@ -161,7 +185,7 @@
}; };
}; };
programs.vesktop = { programs.vesktop = {
enable = true; enable = false;
settings = { settings = {
staticTitle = true; staticTitle = true;
arRPC = true; arRPC = true;

View File

@ -1,6 +1,7 @@
{ {
stylix = { stylix = {
image = ./wallpaper.png; image = ./wallpaper.png;
polarity = "dark";
targets = { targets = {
waybar.enable = true; waybar.enable = true;
waybar.addCss = false; waybar.addCss = false;

View File

@ -17,8 +17,7 @@
#workspaces button { #workspaces button {
all: unset; all: unset;
padding: 1px 6px; padding: 1px 3px;
margin: 2px;
color: alpha(@base05, 0.5); color: alpha(@base05, 0.5);
border-radius: 1em; border-radius: 1em;
} }
@ -30,7 +29,7 @@
#workspaces { #workspaces {
margin: 0px; margin: 0px;
padding: 2px; padding: 2px 6px;
background-color: @base00; background-color: @base00;
border-radius: 1em; border-radius: 1em;
} }

View File

@ -6,15 +6,10 @@
}: }:
{ {
stylix.opacity = { stylix.opacity = {
terminal = 0.8; terminal = 1.0;
desktop = 1.0; desktop = 1.0;
popups = 1.0; popups = 1.0;
}; };
stylix.cursor = {
name = "macOS";
package = pkgs.apple-cursor;
size = 24;
};
stylix.icons = { stylix.icons = {
enable = true; enable = true;
dark = "Papirus-Dark"; dark = "Papirus-Dark";
@ -24,7 +19,7 @@
stylix = { stylix = {
enable = true; enable = true;
autoEnable = true; autoEnable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
polarity = "dark"; polarity = "dark";
image = ./home/wallpaper.png; image = ./home/wallpaper.png;
targets = { targets = {