unfree
This commit is contained in:
parent
f94de157a6
commit
ec8fbeacc1
9 changed files with 31 additions and 14 deletions
|
|
@ -56,7 +56,7 @@
|
||||||
hostname:
|
hostname:
|
||||||
let
|
let
|
||||||
hardware = import ./hosts/${hostname}/hardware-configuration.nix;
|
hardware = import ./hosts/${hostname}/hardware-configuration.nix;
|
||||||
args = builtins.functionArgs hardware // { lib.mkdefault = lib.id; };
|
args = builtins.functionArgs hardware // { lib.mkDefault = lib.id; };
|
||||||
in
|
in
|
||||||
(hardware args).nixpkgs.hostPlatform;
|
(hardware args).nixpkgs.hostPlatform;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
{home-manager, lib, ...}: {
|
{ home-manager, sops-nix, ... } @ inputs: {
|
||||||
imports [ home-manager.nixosModules.home-manager ];
|
imports = [ home-manager.nixosModules.home-manager ];
|
||||||
|
|
||||||
home-manager.backupFileExtension = "bak";
|
home-manager.backupFileExtension = "bak";
|
||||||
home-manager.users."lilith" = {
|
home-manager.users."lilith" = {
|
||||||
imports = [
|
imports = [
|
||||||
|
sops-nix.homeManagerModules.sops
|
||||||
./lilith
|
./lilith
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
{ matshell, sops-nix, ...}: {
|
{ sops-nix, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
# ags.homeManagerModules.default
|
# ags.homeManagerModules.default
|
||||||
matshell.homeManagerModules.default
|
# matshell.homeManagerModules.default
|
||||||
sops-nix.homeManagerModules.sops
|
# sops-nix.homeManagerModules.sops
|
||||||
# ./ags # ToDo: get codin :3
|
# ./ags # ToDo: get codin :3
|
||||||
./hyprland
|
./hyprland
|
||||||
./rofi.nix
|
./rofi.nix
|
||||||
./dunst.nix
|
./dunst.nix
|
||||||
|
|
||||||
./matshell.nix
|
# ./matshell.nix
|
||||||
|
|
||||||
./env.nix
|
./env.nix
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
home.file.".config/hypr/wallpaper.png" = {
|
home.file.".config/hypr/wallpaper.png" = {
|
||||||
source = ../../wallpapers/default.png;
|
source = ../../../wallpapers/default.png;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.hyprpaper = let
|
services.hyprpaper = let
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@
|
||||||
"obsidian"
|
"obsidian"
|
||||||
"code"
|
"code"
|
||||||
".keepass"
|
".keepass"
|
||||||
] ++ lib.optionals config.gaming.enable [
|
|
||||||
".local/share/PrismLauncher"
|
".local/share/PrismLauncher"
|
||||||
".local/share/Steam"
|
".local/share/Steam"
|
||||||
".local/share/lutris"
|
".local/share/lutris"
|
||||||
|
|
@ -34,7 +33,6 @@
|
||||||
".cargo"
|
".cargo"
|
||||||
".local/state/wireplumber"
|
".local/state/wireplumber"
|
||||||
"tmp"
|
"tmp"
|
||||||
] ++ lib.optionals config.gaming.enable [
|
|
||||||
];
|
];
|
||||||
files = [];
|
files = [];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
{
|
{ ... }: {
|
||||||
...
|
# imports = [
|
||||||
}: {
|
# sops-nix.homeManagerModules.default
|
||||||
|
# ];
|
||||||
|
|
||||||
sops = {
|
sops = {
|
||||||
age.keyFile = /persist/data/home/lilith/.config/sops/age/keys.txt;
|
age.keyFile = /persist/data/home/lilith/.config/sops/age/keys.txt;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
"nixos"
|
"nixos"
|
||||||
"sync"
|
"sync"
|
||||||
"obsidian"
|
|
||||||
"code"
|
"code"
|
||||||
".keepass"
|
".keepass"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -15,5 +15,16 @@
|
||||||
"_netdev"
|
"_netdev"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
fileSystems."/mnt/nas/torrent" = {
|
||||||
|
device = "nixserver:/torrent";
|
||||||
|
fsType = "nfs";
|
||||||
|
options = [
|
||||||
|
"nfsvers=4.2"
|
||||||
|
"noauto"
|
||||||
|
"x-systemd.automount"
|
||||||
|
"x-systemd.idle-timeout=600"
|
||||||
|
"_netdev"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
6
unfree.nix
Normal file
6
unfree.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
allowed = [
|
||||||
|
"steam"
|
||||||
|
"steam-unwrapped"
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue