This commit is contained in:
minish 2025-04-06 14:19:14 -04:00
parent 35d5d78540
commit 55682638d6
Signed by: min
SSH Key Fingerprint: SHA256:PDf6DSaU0lWsQ57NzQGdm8HUKftULYFYzxPJolepY58
11 changed files with 147 additions and 23 deletions

View File

@ -105,6 +105,21 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat_2": {
"locked": {
"lastModified": 1733328505,
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
@ -316,6 +331,47 @@
"type": "github" "type": "github"
} }
}, },
"nix-alien": {
"inputs": {
"flake-compat": "flake-compat_2",
"nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1739614676,
"narHash": "sha256-iDX6hXrO0J79hY3MqwU7t8b95j8DbqwdOug/Xdz4g6E=",
"owner": "thiagokokada",
"repo": "nix-alien",
"rev": "6255ffad7785bf04c7cff222f440de576c63363f",
"type": "github"
},
"original": {
"owner": "thiagokokada",
"repo": "nix-alien",
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nix-alien",
"nixpkgs"
]
},
"locked": {
"lastModified": 1739071773,
"narHash": "sha256-/Ak+Quinhmdxa9m3shjm4lwwwqmzG8zzGhhhhgR1k9I=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "895d81b6228bbd50a6ef22f5a58a504ca99763ea",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-index-database",
"type": "github"
}
},
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1734954597, "lastModified": 1734954597,
@ -333,16 +389,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1734991663, "lastModified": 1739446958,
"narHash": "sha256-8T660guvdaOD+2/Cj970bWlQwAyZLKrrbkhYOFcY1YE=", "narHash": "sha256-+/bYK3DbPxMIvSL4zArkMX0LQvS7rzBKXnDXLfKyRVc=",
"owner": "nixos", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6c90912761c43e22b6fb000025ab96dd31c971ff", "rev": "2ff53fe64443980e139eaa286017f53f88336dd0",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "NixOS",
"ref": "nixos-24.11", "ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -391,6 +447,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": {
"locked": {
"lastModified": 1734991663,
"narHash": "sha256-8T660guvdaOD+2/Cj970bWlQwAyZLKrrbkhYOFcY1YE=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "6c90912761c43e22b6fb000025ab96dd31c971ff",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nuscht-search": { "nuscht-search": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
@ -449,8 +521,9 @@
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"impermanence": "impermanence", "impermanence": "impermanence",
"lanzaboote": "lanzaboote", "lanzaboote": "lanzaboote",
"nix-alien": "nix-alien",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs_2",
"sops-nix": "sops-nix" "sops-nix": "sops-nix"
} }
}, },

View File

@ -24,6 +24,8 @@
catppuccin.url = "github:catppuccin/nix"; catppuccin.url = "github:catppuccin/nix";
catppuccin.inputs.nixpkgs.follows = "nixpkgs"; catppuccin.inputs.nixpkgs.follows = "nixpkgs";
nix-alien.url = "github:thiagokokada/nix-alien";
}; };
nixConfig = { nixConfig = {

View File

@ -9,10 +9,10 @@
./hyprland.nix ./hyprland.nix
./kdeconnect.nix ./kdeconnect.nix
./mpris.nix ./mpris.nix
./nh.nix
./shell.nix ./shell.nix
./ssh.nix ./ssh.nix
./social.nix ./social.nix
./utils.nix
]; ];
home.stateVersion = "24.11"; home.stateVersion = "24.11";

View File

@ -1,5 +1,10 @@
{pkgs, ...}: { {
home.packages = with pkgs; [ pkgs,
prismlauncher pkgs-unfree,
...
}: {
home.packages = [
pkgs.prismlauncher
pkgs-unfree.steam
]; ];
} }

View File

@ -1,5 +0,0 @@
_: {
programs.nh = {
enable = true;
};
}

View File

@ -1,4 +1,4 @@
{pkgs-unfree, ...}: { {...}: {
programs = let programs = let
enableZsh = { enableZsh = {
enable = true; enable = true;
@ -32,6 +32,8 @@
direnv = enableZsh; direnv = enableZsh;
yazi = enableZsh;
fzf = enableZsh; fzf = enableZsh;
eza = enableZsh; eza = enableZsh;
zoxide = enableZsh; zoxide = enableZsh;
@ -44,8 +46,4 @@
settings.color_theme = "ayu"; settings.color_theme = "ayu";
}; };
}; };
home.packages = with pkgs-unfree; [
unrar
];
} }

26
homes/min/utils.nix Normal file
View File

@ -0,0 +1,26 @@
{
pkgs,
pkgs-unfree,
...
}: {
programs.nh = {
enable = true;
};
home.packages =
(with pkgs; [
# compression
unzip
p7zip
# networking
mullvad
# file sharing
qbittorrent
])
++ (with pkgs-unfree; [
# compression
unrar
]);
}

View File

@ -105,6 +105,12 @@ _: {
#workspaces button:hover { #workspaces button:hover {
color: @pink; color: @pink;
border-radius: 8px; border-radius: 8px;
box-shadow: none;
text-shadow: none;
background: none;
transition: none;
border-color: transparent;
} }
#custom-music, #custom-music,

View File

@ -78,6 +78,15 @@
}; };
services.pcscd.enable = true; services.pcscd.enable = true;
# nix-ld
programs.nix-ld.enable = true;
# System packages
environment.systemPackages = with pkgs;
[
]
++ [inputs.nix-alien.packages.${system}.nix-alien];
# Enable TPM2 # Enable TPM2
security.tpm2 = { security.tpm2 = {
enable = true; enable = true;
@ -90,6 +99,9 @@
# KDE connect (firewall) # KDE connect (firewall)
programs.kdeconnect.enable = true; programs.kdeconnect.enable = true;
# Mullvad service
services.mullvad-vpn.enable = true;
# Home-manager # Home-manager
home-manager = { home-manager = {
extraSpecialArgs = {inherit inputs pkgs-unfree;}; extraSpecialArgs = {inherit inputs pkgs-unfree;};

View File

@ -9,10 +9,13 @@
inputs.lanzaboote.nixosModules.lanzaboote inputs.lanzaboote.nixosModules.lanzaboote
inputs.catppuccin.nixosModules.catppuccin inputs.catppuccin.nixosModules.catppuccin
{ {
_module.args.pkgs-unfree = import inputs.nixpkgs { _module.args = {
pkgs-unfree = import inputs.nixpkgs {
inherit system; inherit system;
config.allowUnfree = true; config.allowUnfree = true;
}; };
inherit system;
};
} }
./configuration.nix ./configuration.nix
]; ];

View File

@ -30,13 +30,17 @@
".local/share/zoxide" ".local/share/zoxide"
".local/share/nix" # trusted settings ".local/share/nix" # trusted settings
".local/state/wireplumber" # volumes, etc ".local/state/wireplumber" # volumes, etc
".config/kdeconnect"
# games # games
".local/share/PrismLauncher" ".local/share/PrismLauncher"
".local/share/Steam"
".steam"
# apps # apps
".config/vesktop" ".config/vesktop"
".librewolf" ".librewolf"
".idapro"
# languages # languages
".cargo" ".cargo"