Merge branch 'main' of lucy.rip:nixos
This commit is contained in:
commit
c554cfc440
6 changed files with 110 additions and 16 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
|
||||||
39
flake.lock
generated
39
flake.lock
generated
|
|
@ -472,6 +472,7 @@
|
||||||
"nixcord": "nixcord",
|
"nixcord": "nixcord",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
|
"spicetify-nix": "spicetify-nix",
|
||||||
"stylix": "stylix"
|
"stylix": "stylix"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -496,6 +497,27 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"spicetify-nix": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"systems": "systems_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1785048222,
|
||||||
|
"narHash": "sha256-LjFVfwxensz76SjnvofF1Jsw+xTLd8Qp31W0J6nh2XI=",
|
||||||
|
"owner": "Gerg-L",
|
||||||
|
"repo": "spicetify-nix",
|
||||||
|
"rev": "17e524f330c282d31c32dfe076222d4a12277886",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "Gerg-L",
|
||||||
|
"repo": "spicetify-nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"stylix": {
|
"stylix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"base16": "base16",
|
"base16": "base16",
|
||||||
|
|
@ -509,7 +531,7 @@
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
"systems": "systems_2",
|
"systems": "systems_3",
|
||||||
"tinted-kitty": "tinted-kitty",
|
"tinted-kitty": "tinted-kitty",
|
||||||
"tinted-schemes": "tinted-schemes",
|
"tinted-schemes": "tinted-schemes",
|
||||||
"tinted-tmux": "tinted-tmux",
|
"tinted-tmux": "tinted-tmux",
|
||||||
|
|
@ -560,6 +582,21 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"systems_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"tinted-kitty": {
|
"tinted-kitty": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,10 @@
|
||||||
url = "github:nix-community/lanzaboote/v1.1.0";
|
url = "github:nix-community/lanzaboote/v1.1.0";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
spicetify-nix = {
|
||||||
|
url = "github:Gerg-L/spicetify-nix";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
|
@ -79,6 +83,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
nixosConfigurations.nerv = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.nerv = nixpkgs.lib.nixosSystem {
|
||||||
|
specialArgs = { inherit inputs; };
|
||||||
modules = [
|
modules = [
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
./nixvim/nixvim.nix
|
./nixvim/nixvim.nix
|
||||||
|
|
|
||||||
|
|
@ -10,12 +10,16 @@
|
||||||
./fastfetch.nix
|
./fastfetch.nix
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
inputs.nixcord.homeModules.nixcord
|
inputs.nixcord.homeModules.nixcord
|
||||||
|
inputs.spicetify-nix.homeManagerModules.spicetify
|
||||||
];
|
];
|
||||||
|
programs.spicetify = {
|
||||||
|
enable = true;
|
||||||
|
wayland = true;
|
||||||
|
};
|
||||||
# Home Manager needs a bit of information about you and the
|
# Home Manager needs a bit of information about you and the
|
||||||
# paths it should manage.
|
# paths it should manage.
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
xournalpp
|
xournalpp
|
||||||
spotify
|
|
||||||
fastfetch
|
fastfetch
|
||||||
hyfetch
|
hyfetch
|
||||||
nemo
|
nemo
|
||||||
|
|
@ -25,18 +29,7 @@
|
||||||
home.pointerCursor.enable = true;
|
home.pointerCursor.enable = true;
|
||||||
home.username = "lucy";
|
home.username = "lucy";
|
||||||
home.homeDirectory = "/home/lucy";
|
home.homeDirectory = "/home/lucy";
|
||||||
services.syncthing = {
|
services.syncthing.enable = true;
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
devices = {
|
|
||||||
cyberia = {
|
|
||||||
id = "OOJBAJU-AAIKLHO-BKMMHBU-2NXE75Z-HE64A6V-LET4ZXB-Q2FT2Y4-GZON3AD";
|
|
||||||
autoAcceptFolders = true;
|
|
||||||
name = "cyberia";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,36 @@
|
||||||
{
|
{
|
||||||
|
lib,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
keep = [
|
||||||
|
"spicetify"
|
||||||
|
"neovim"
|
||||||
|
"qt"
|
||||||
|
"gtk"
|
||||||
|
"hyprland"
|
||||||
|
"hyprpaper"
|
||||||
|
"foot"
|
||||||
|
"fuzzel"
|
||||||
|
"discord"
|
||||||
|
"console"
|
||||||
|
];
|
||||||
|
dir = "${inputs.stylix}/modules";
|
||||||
|
|
||||||
|
drop = builtins.filter (n: !(builtins.elem n keep)) (
|
||||||
|
builtins.attrNames (lib.filterAttrs (_: t: t == "directory") (builtins.readDir dir))
|
||||||
|
);
|
||||||
|
|
||||||
|
disable =
|
||||||
|
platform:
|
||||||
|
map (n: "${dir}/${n}/${platform}.nix") (
|
||||||
|
builtins.filter (n: builtins.pathExists "${dir}/${n}/${platform}.nix") drop
|
||||||
|
);
|
||||||
|
in
|
||||||
|
|
||||||
|
{
|
||||||
|
disabledModules = disable "hm";
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoEnable = false;
|
autoEnable = false;
|
||||||
|
|
@ -10,6 +42,7 @@
|
||||||
hyprland.hyprpaper.enable = false;
|
hyprland.hyprpaper.enable = false;
|
||||||
fuzzel.enable = true;
|
fuzzel.enable = true;
|
||||||
foot.enable = true;
|
foot.enable = true;
|
||||||
|
spicetify.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
28
stylix.nix
28
stylix.nix
|
|
@ -1,10 +1,36 @@
|
||||||
{
|
{
|
||||||
|
inputs,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
keep = [
|
||||||
|
"neovim"
|
||||||
|
"qt"
|
||||||
|
"gtk"
|
||||||
|
"hyprland"
|
||||||
|
"foot"
|
||||||
|
"fuzzel"
|
||||||
|
"nixcord"
|
||||||
|
"console"
|
||||||
|
];
|
||||||
|
dir = "${inputs.stylix}/modules";
|
||||||
|
|
||||||
|
drop = builtins.filter (n: !(builtins.elem n keep)) (
|
||||||
|
builtins.attrNames (lib.filterAttrs (_: t: t == "directory") (builtins.readDir dir))
|
||||||
|
);
|
||||||
|
|
||||||
|
disable =
|
||||||
|
platform:
|
||||||
|
map (n: "${dir}/${n}/${platform}.nix") (
|
||||||
|
builtins.filter (n: builtins.pathExists "${dir}/${n}/${platform}.nix") drop
|
||||||
|
);
|
||||||
|
in
|
||||||
{
|
{
|
||||||
|
disabledModules = disable "nixos";
|
||||||
|
|
||||||
stylix.opacity = {
|
stylix.opacity = {
|
||||||
terminal = 0.8;
|
terminal = 0.8;
|
||||||
desktop = 1.0;
|
desktop = 1.0;
|
||||||
|
|
@ -24,7 +50,7 @@
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoEnable = false;
|
autoEnable = false;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine.yaml";
|
||||||
polarity = "dark";
|
polarity = "dark";
|
||||||
image = ./wallpaper.png;
|
image = ./wallpaper.png;
|
||||||
targets = {
|
targets = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue