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"
}
},
"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": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
@ -316,6 +331,47 @@
"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": {
"locked": {
"lastModified": 1734954597,
@ -333,16 +389,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1734991663,
"narHash": "sha256-8T660guvdaOD+2/Cj970bWlQwAyZLKrrbkhYOFcY1YE=",
"owner": "nixos",
"lastModified": 1739446958,
"narHash": "sha256-+/bYK3DbPxMIvSL4zArkMX0LQvS7rzBKXnDXLfKyRVc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6c90912761c43e22b6fb000025ab96dd31c971ff",
"rev": "2ff53fe64443980e139eaa286017f53f88336dd0",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-24.11",
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
@ -391,6 +447,22 @@
"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": {
"inputs": {
"flake-utils": "flake-utils",
@ -449,8 +521,9 @@
"home-manager": "home-manager_2",
"impermanence": "impermanence",
"lanzaboote": "lanzaboote",
"nix-alien": "nix-alien",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"nixpkgs": "nixpkgs_2",
"sops-nix": "sops-nix"
}
},

View File

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

View File

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

View File

@ -1,5 +1,10 @@
{pkgs, ...}: {
home.packages = with pkgs; [
prismlauncher
{
pkgs,
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
enableZsh = {
enable = true;
@ -32,6 +32,8 @@
direnv = enableZsh;
yazi = enableZsh;
fzf = enableZsh;
eza = enableZsh;
zoxide = enableZsh;
@ -44,8 +46,4 @@
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 {
color: @pink;
border-radius: 8px;
box-shadow: none;
text-shadow: none;
background: none;
transition: none;
border-color: transparent;
}
#custom-music,

View File

@ -78,6 +78,15 @@
};
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
security.tpm2 = {
enable = true;
@ -90,6 +99,9 @@
# KDE connect (firewall)
programs.kdeconnect.enable = true;
# Mullvad service
services.mullvad-vpn.enable = true;
# Home-manager
home-manager = {
extraSpecialArgs = {inherit inputs pkgs-unfree;};

View File

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

View File

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