refac: cleanup

This commit is contained in:
Leon Wilzer 2024-11-27 22:35:45 +01:00
parent 827838448c
commit 8d149d0c93
Signed by: leon
GPG Key ID: 645EFCD19E59ED05
5 changed files with 10 additions and 42 deletions

4
.gitmodules vendored
View File

@ -1,4 +0,0 @@
[submodule "leon"]
path = leon
url = git@git.libre.moe:leon/home-manager.git
branch = main

View File

@ -148,7 +148,7 @@ services.displayManager.sddm =
enable = true; enable = true;
autoNumlock = true; # Enable NumLock at login autoNumlock = true; # Enable NumLock at login
wayland.enable = true; wayland.enable = true;
#theme = "catppuccin-mocha"; theme = "catppuccin-mocha";
package = pkgs.kdePackages.sddm; package = pkgs.kdePackages.sddm;
}; };
@ -247,9 +247,6 @@ systemd.tmpfiles.rules = [
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
home-manager.useUserPackages = true;
home-manager.useGlobalPkgs = true;
# Font Config # Font Config
fonts = { fonts = {
enableDefaultPackages = true; enableDefaultPackages = true;
@ -310,6 +307,14 @@ environment.etc.crypttab = {
home-manager # Nix's Home-Manager home-manager # Nix's Home-Manager
egl-wayland # NVIDIA compat egl-wayland # NVIDIA compat
nvidia-vaapi-driver # NVIDIA compat nvidia-vaapi-driver # NVIDIA compat
catppuccin-cursors.mochaDark # Catppuccin Mouse Cursors
(catppuccin-sddm.override {
flavor = "mocha";
font = "Fira Sans";
fontSize = "9";
#backgroundbin = "$XDG_PICTURES_DIR/Wallpapers/current";
loginBackground = true;
})
]; ];
programs = { programs = {

21
flake.lock generated
View File

@ -74,26 +74,6 @@
"type": "github" "type": "github"
} }
}, },
"home-manager": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1732482255,
"narHash": "sha256-GUffLwzawz5WRVfWaWCg78n/HrBJrOG7QadFY6rtV8A=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "a9953635d7f34e7358d5189751110f87e3ac17da",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"lanzaboote": { "lanzaboote": {
"inputs": { "inputs": {
"crane": "crane", "crane": "crane",
@ -180,7 +160,6 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager",
"lanzaboote": "lanzaboote", "lanzaboote": "lanzaboote",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }

View File

@ -3,8 +3,6 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
lanzaboote = { lanzaboote = {
url = "github:nix-community/lanzaboote"; url = "github:nix-community/lanzaboote";
@ -13,7 +11,7 @@
}; };
}; };
outputs = inputs@{ nixpkgs, home-manager, lanzaboote, ... }: { outputs = inputs@{ nixpkgs, lanzaboote, ... }: {
nixosConfigurations = { nixosConfigurations = {
Zuse1 = nixpkgs.lib.nixosSystem { Zuse1 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
@ -38,15 +36,6 @@
pkiBundle = "/etc/secureboot"; pkiBundle = "/etc/secureboot";
}; };
}) })
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.leon = import ./leon/home.nix;
# Optionally, use home-manager.extraSpecialArgs to pass
# arguments to home.nix
}
]; ];
}; };
}; };

1
leon

@ -1 +0,0 @@
Subproject commit 8adfd3a36b347e6ab54a29ec1584281856d8679f