Compare commits

...

6 commits

Author SHA1 Message Date
d9aa13a316
wayland: remove wlr vars 2024-05-13 11:15:35 -04:00
62d5a0fc7a
nix: add hyprpaper overlay 2024-05-13 11:15:21 -04:00
27db5847fb
flake.nix: remove hyprcursor 2024-05-13 11:15:13 -04:00
8ad2328160
hosts: remove disko 2024-05-13 11:15:04 -04:00
d7e3f642ae
hypr*: switch to upstream hm modules 2024-05-13 11:13:29 -04:00
db1ef4d418
nix: remove hyprland overlay 2024-05-13 10:18:35 -04:00
10 changed files with 230 additions and 337 deletions

View file

@ -483,7 +483,7 @@
},
"flake-utils_5": {
"inputs": {
"systems": "systems_13"
"systems": "systems_12"
},
"locked": {
"lastModified": 1710146030,
@ -501,7 +501,7 @@
},
"flake-utils_6": {
"inputs": {
"systems": "systems_16"
"systems": "systems_15"
},
"locked": {
"lastModified": 1710146030,
@ -634,26 +634,6 @@
}
},
"hyprcursor": {
"inputs": {
"hyprlang": "hyprlang",
"nixpkgs": "nixpkgs_6",
"systems": "systems_5"
},
"locked": {
"lastModified": 1713612213,
"narHash": "sha256-zJboXgWNpNhKyNF8H/3UYzWkx7w00TOCGKi3cwi+tsw=",
"owner": "hyprwm",
"repo": "hyprcursor",
"rev": "cab4746180f210a3c1dd3d53e45c510e309e90e1",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprcursor",
"type": "github"
}
},
"hyprcursor_2": {
"inputs": {
"hyprlang": [
"hyprland",
@ -684,9 +664,9 @@
},
"hypridle": {
"inputs": {
"hyprlang": "hyprlang_2",
"nixpkgs": "nixpkgs_7",
"systems": "systems_7"
"hyprlang": "hyprlang",
"nixpkgs": "nixpkgs_6",
"systems": "systems_6"
},
"locked": {
"lastModified": 1713472482,
@ -704,11 +684,11 @@
},
"hyprland": {
"inputs": {
"hyprcursor": "hyprcursor_2",
"hyprlang": "hyprlang_3",
"hyprcursor": "hyprcursor",
"hyprlang": "hyprlang_2",
"hyprwayland-scanner": "hyprwayland-scanner",
"nixpkgs": "nixpkgs_8",
"systems": "systems_8",
"nixpkgs": "nixpkgs_7",
"systems": "systems_7",
"xdph": "xdph"
},
"locked": {
@ -807,13 +787,10 @@
"hyprlang": {
"inputs": {
"nixpkgs": [
"hyprcursor",
"hypridle",
"nixpkgs"
],
"systems": [
"hyprcursor",
"systems"
]
"systems": "systems_5"
},
"locked": {
"lastModified": 1713121246,
@ -830,28 +807,6 @@
}
},
"hyprlang_2": {
"inputs": {
"nixpkgs": [
"hypridle",
"nixpkgs"
],
"systems": "systems_6"
},
"locked": {
"lastModified": 1713121246,
"narHash": "sha256-502X0Q0fhN6tJK7iEUA8CghONKSatW/Mqj4Wappd++0=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "78fcaa27ae9e1d782faa3ff06c8ea55ddce63706",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprlang",
"type": "github"
}
},
"hyprlang_3": {
"inputs": {
"nixpkgs": [
"hyprland",
@ -876,13 +831,32 @@
"type": "github"
}
},
"hyprlang_4": {
"hyprlang_3": {
"inputs": {
"nixpkgs": [
"hyprlock",
"nixpkgs"
],
"systems": "systems_9"
"systems": "systems_8"
},
"locked": {
"lastModified": 1713121246,
"narHash": "sha256-502X0Q0fhN6tJK7iEUA8CghONKSatW/Mqj4Wappd++0=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "78fcaa27ae9e1d782faa3ff06c8ea55ddce63706",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprlang",
"type": "github"
}
},
"hyprlang_4": {
"inputs": {
"nixpkgs": "nixpkgs_9",
"systems": "systems_10"
},
"locked": {
"lastModified": 1713121246,
@ -899,31 +873,12 @@
}
},
"hyprlang_5": {
"inputs": {
"nixpkgs": "nixpkgs_10",
"systems": "systems_11"
},
"locked": {
"lastModified": 1713121246,
"narHash": "sha256-502X0Q0fhN6tJK7iEUA8CghONKSatW/Mqj4Wappd++0=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "78fcaa27ae9e1d782faa3ff06c8ea55ddce63706",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprlang",
"type": "github"
}
},
"hyprlang_6": {
"inputs": {
"nixpkgs": [
"xdg-portal-hyprland",
"nixpkgs"
],
"systems": "systems_14"
"systems": "systems_13"
},
"locked": {
"lastModified": 1713121246,
@ -941,9 +896,9 @@
},
"hyprlock": {
"inputs": {
"hyprlang": "hyprlang_4",
"nixpkgs": "nixpkgs_9",
"systems": "systems_10"
"hyprlang": "hyprlang_3",
"nixpkgs": "nixpkgs_8",
"systems": "systems_9"
},
"locked": {
"lastModified": 1715510809,
@ -961,9 +916,9 @@
},
"hyprpaper": {
"inputs": {
"hyprlang": "hyprlang_5",
"nixpkgs": "nixpkgs_11",
"systems": "systems_12"
"hyprlang": "hyprlang_4",
"nixpkgs": "nixpkgs_10",
"systems": "systems_11"
},
"locked": {
"lastModified": 1714910693,
@ -981,7 +936,7 @@
},
"hyprpicker": {
"inputs": {
"nixpkgs": "nixpkgs_12"
"nixpkgs": "nixpkgs_11"
},
"locked": {
"lastModified": 1715417660,
@ -1025,7 +980,7 @@
"nix-gaming": {
"inputs": {
"flake-parts": "flake-parts_3",
"nixpkgs": "nixpkgs_13"
"nixpkgs": "nixpkgs_12"
},
"locked": {
"lastModified": 1715476621,
@ -1146,22 +1101,6 @@
}
},
"nixpkgs_10": {
"locked": {
"lastModified": 1708475490,
"narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0e74ca98a74bc7270d28838369593635a5db3260",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_11": {
"locked": {
"lastModified": 1712963716,
"narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=",
@ -1177,7 +1116,7 @@
"type": "github"
}
},
"nixpkgs_12": {
"nixpkgs_11": {
"locked": {
"lastModified": 1683014792,
"narHash": "sha256-6Va9iVtmmsw4raBc3QKvQT2KT/NGRWlvUlJj46zN8B8=",
@ -1193,7 +1132,7 @@
"type": "github"
}
},
"nixpkgs_13": {
"nixpkgs_12": {
"locked": {
"lastModified": 1715413075,
"narHash": "sha256-FCi3R1MeS5bVp0M0xTheveP6hhcCYfW/aghSTPebYL4=",
@ -1209,7 +1148,7 @@
"type": "github"
}
},
"nixpkgs_14": {
"nixpkgs_13": {
"locked": {
"lastModified": 1715447595,
"narHash": "sha256-VsVAUQOj/cS1LCOmMjAGeRksXIAdPnFIjCQ0XLkCsT0=",
@ -1225,7 +1164,7 @@
"type": "github"
}
},
"nixpkgs_15": {
"nixpkgs_14": {
"locked": {
"lastModified": 1710765496,
"narHash": "sha256-p7ryWEeQfMwTB6E0wIUd5V2cFTgq+DRRBz2hYGnJZyA=",
@ -1241,7 +1180,7 @@
"type": "github"
}
},
"nixpkgs_16": {
"nixpkgs_15": {
"locked": {
"lastModified": 1714912032,
"narHash": "sha256-clkcOIkg8G4xuJh+1onLG4HPMpbtzdLv4rHxFzgsH9c=",
@ -1257,7 +1196,7 @@
"type": "github"
}
},
"nixpkgs_17": {
"nixpkgs_16": {
"locked": {
"lastModified": 1712963716,
"narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=",
@ -1273,7 +1212,7 @@
"type": "github"
}
},
"nixpkgs_18": {
"nixpkgs_17": {
"locked": {
"lastModified": 1713805509,
"narHash": "sha256-YgSEan4CcrjivCNO5ZNzhg7/8ViLkZ4CB/GrGBVSudo=",
@ -1370,22 +1309,6 @@
}
},
"nixpkgs_7": {
"locked": {
"lastModified": 1712963716,
"narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "cfd6b5fc90b15709b780a5a1619695a88505a176",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_8": {
"locked": {
"lastModified": 1715087517,
"narHash": "sha256-CLU5Tsg24Ke4+7sH8azHWXKd0CFd4mhLWfhYgUiDBpQ=",
@ -1401,7 +1324,7 @@
"type": "github"
}
},
"nixpkgs_9": {
"nixpkgs_8": {
"locked": {
"lastModified": 1712963716,
"narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=",
@ -1417,13 +1340,29 @@
"type": "github"
}
},
"nixpkgs_9": {
"locked": {
"lastModified": 1708475490,
"narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0e74ca98a74bc7270d28838369593635a5db3260",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nur": {
"locked": {
"lastModified": 1715571190,
"narHash": "sha256-LaqzJ6sGfi9NImRdcFNZLGUcnUDRCxi3eQjuJRO4JzQ=",
"lastModified": 1715607605,
"narHash": "sha256-uBqYAggCZskgOah3oIPSAomQpKsS7PG69Xh7xMc/HfQ=",
"owner": "nix-community",
"repo": "NUR",
"rev": "702d0cde0e6abc982602c1670a525d06e8e92a5e",
"rev": "46c8a3892f815cb687c22de95ba600e4fdc46ab8",
"type": "github"
},
"original": {
@ -1437,7 +1376,7 @@
"flake-compat": "flake-compat_5",
"flake-utils": "flake-utils_5",
"gitignore": "gitignore",
"nixpkgs": "nixpkgs_15",
"nixpkgs": "nixpkgs_14",
"nixpkgs-stable": "nixpkgs-stable_2"
},
"locked": {
@ -1464,7 +1403,6 @@
"flake-parts": "flake-parts_2",
"helix": "helix",
"home-manager": "home-manager",
"hyprcursor": "hyprcursor",
"hypridle": "hypridle",
"hyprland": "hyprland",
"hyprland-plugins": "hyprland-plugins",
@ -1473,7 +1411,7 @@
"hyprpicker": "hyprpicker",
"nix-gaming": "nix-gaming",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_14",
"nixpkgs": "nixpkgs_13",
"nur": "nur",
"pre-commit-hooks": "pre-commit-hooks",
"sops-nix": "sops-nix",
@ -1587,7 +1525,7 @@
"flake-compat": "flake-compat_6",
"gnome-shell": "gnome-shell",
"home-manager": "home-manager_2",
"nixpkgs": "nixpkgs_16"
"nixpkgs": "nixpkgs_15"
},
"locked": {
"lastModified": 1715516559,
@ -1649,21 +1587,6 @@
}
},
"systems_12": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_13": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@ -1678,6 +1601,21 @@
"type": "github"
}
},
"systems_13": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_14": {
"locked": {
"lastModified": 1689347949,
@ -1694,21 +1632,6 @@
}
},
"systems_15": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_16": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@ -1864,9 +1787,9 @@
"xdg-portal-hyprland": {
"inputs": {
"hyprland-protocols": "hyprland-protocols_2",
"hyprlang": "hyprlang_6",
"nixpkgs": "nixpkgs_17",
"systems": "systems_15"
"hyprlang": "hyprlang_5",
"nixpkgs": "nixpkgs_16",
"systems": "systems_14"
},
"locked": {
"lastModified": 1714662532,
@ -1915,7 +1838,7 @@
"yazi": {
"inputs": {
"flake-utils": "flake-utils_6",
"nixpkgs": "nixpkgs_18",
"nixpkgs": "nixpkgs_17",
"rust-overlay": "rust-overlay_3"
},
"locked": {

View file

@ -60,7 +60,6 @@
hypridle.url = "github:hyprwm/hypridle";
hyprlock.url = "github:hyprwm/hyprlock";
hyprpicker.url = "github:hyprwm/hyprpicker";
hyprcursor.url = "github:hyprwm/hyprcursor";
hyprpaper.url = "github:hyprwm/hyprpaper";
xdg-portal-hyprland.url = "github:hyprwm/xdg-desktop-portal-hyprland";
hyprland-plugins = {

View file

@ -12,7 +12,6 @@
slurp
satty
wl-clipboard
wlr-randr
];
sessionVariables = {
__GL_GSYNC_ALLOWED = "0";
@ -24,8 +23,6 @@
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
GDK_BACKEND = "wayland";
MOZ_ENABLE_WAYLAND = "1";
WLR_BACKEND = "vulkan";
WLR_RENDERER = "vulkan";
XCURSOR_SIZE = "24";
NIXOS_OZONE_WL = "1";
EDITOR = "hx";

View file

@ -1,7 +1,9 @@
_: {
{inputs, ...}: {
imports = [inputs.hyprlock.homeManagerModules.default];
disabledModules = ["${inputs.home-manager}/modules/programs/hyprlock.nix"];
programs.hyprlock = {
enable = true;
settings = {
backgrounds = let
verticalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle.png";
horizontalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle2.png";
@ -99,5 +101,4 @@ _: {
}
];
};
};
}

View file

@ -1,12 +1,15 @@
{
inputs,
pkgs,
lib,
config,
...
}: {
imports = [inputs.hypridle.homeManagerModules.default];
disabledModules = ["${inputs.home-manager}/modules/services/hypridle.nix"];
services.hypridle = {
enable = true;
settings = {
ignoreDbusInhibit = false;
lockCmd = lib.getExe config.programs.hyprlock.package;
beforeSleepCmd = "${pkgs.systemd}/bin/loginctl lock-session";
@ -21,5 +24,4 @@
}
];
};
};
}

View file

@ -1,7 +1,14 @@
_: {
{
inputs,
pkgs,
...
}: {
home.packages = [pkgs.hyprpaper];
imports = [inputs.hyprpaper.homeManagerModules.default];
disabledModules = ["${inputs.home-manager}/modules/services/hyprpaper.nix"];
services.hyprpaper = {
enable = true;
settings = {
ipc = true;
splash = false;
preloads = [
@ -15,5 +22,4 @@ _: {
"DP-3,~/Pictures/wallpapers/sparkle3.png"
];
};
};
}

View file

@ -1,33 +0,0 @@
{
disko.devices = {
disk = {
sda = {
device = "/dev/sda";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
end = "500M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
name = "root";
end = "-0";
content = {
type = "filesystem";
format = "bcachefs";
mountpoint = "/";
};
};
};
};
};
};
};
}

View file

@ -6,7 +6,6 @@
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
./disko-config.nix
];
boot = {

View file

@ -11,7 +11,6 @@
atticModule = inputs.attic.nixosModules.atticd;
nurModule = inputs.nur.nixosModules.nur;
t480Module = inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480;
diskoModule = inputs.disko.nixosModules.default;
in {
tsuki = nixosSystem {
inherit specialArgs;
@ -40,7 +39,6 @@
sopsModule
hmModule
t480Module
diskoModule
{
home-manager = {
useGlobalPkgs = true;

View file

@ -4,11 +4,10 @@
inputs.nur.overlay
inputs.helix.overlays.default
inputs.yazi.overlays.default
inputs.hyprland.overlays.default
inputs.hypridle.overlays.default
inputs.hyprlock.overlays.default
inputs.hyprpaper.overlays.default
inputs.hyprpicker.overlays.default
inputs.hyprcursor.overlays.default
inputs.atuin.overlays.default
inputs.eww.overlays.default
];
@ -31,6 +30,7 @@
};
nix = {
channel.enable = false;
settings = {
extra-experimental-features = ["flakes" "nix-command"];
warn-dirty = false;
@ -38,6 +38,7 @@
builders-use-substitutes = true;
keep-outputs = true;
keep-derivations = true;
flake-registry = "/etc/nix/registry.json";
allowed-users = ["@wheel"];
trusted-users = ["root" "@wheel"];
substituters = [