Compare commits
4 commits
a00aca6143
...
6110d26c39
Author | SHA1 | Date | |
---|---|---|---|
6110d26c39 | |||
f9ac37dd98 | |||
02f042dd7f | |||
a6f121fa9a |
5 changed files with 10 additions and 24 deletions
|
@ -108,17 +108,20 @@
|
|||
users.users.crony = {
|
||||
isNormalUser = true;
|
||||
description = "Crony";
|
||||
# hashedPasswordFile = "${config.age.secrets.crony-passwd.path}";
|
||||
hashedPasswordFile = "${config.age.secrets.crony-passwd.path}";
|
||||
extraGroups = ["networkmanager" "wheel" "video" "input" "audio" "gamemode" "seat"];
|
||||
};
|
||||
|
||||
# users.users.root.hashedPasswordFile = "${config.age.secrets.root-passwd.path}";
|
||||
users.users.root.hashedPasswordFile = "${config.age.secrets.root-passwd.path}";
|
||||
|
||||
# users.mutableUsers = false;
|
||||
users.mutableUsers = false;
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# Enable my flake specific settings
|
||||
crony.secrets.enable = true;
|
||||
|
||||
# List packages installed in system profile
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovim
|
||||
|
|
|
@ -22,11 +22,7 @@
|
|||
content = {
|
||||
type = "luks";
|
||||
name = "crypt";
|
||||
passwordFile = "/tmp/secret.key"; # Interactive
|
||||
settings = {
|
||||
allowDiscards = true;
|
||||
keyFile = "/tmp/secret.key";
|
||||
};
|
||||
settings.allowDiscards = true;
|
||||
content = {
|
||||
type = "btrfs";
|
||||
extraArgs = ["-f"];
|
||||
|
|
|
@ -17,19 +17,6 @@
|
|||
boot.kernelModules = ["kvm-amd"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/0fbf752d-9234-42bd-9e04-8246de85e8d6";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/3156-31B6";
|
||||
fsType = "vfat";
|
||||
options = ["fmask=0077" "dmask=0077"];
|
||||
};
|
||||
|
||||
swapDevices = [];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
|
|
|
@ -131,10 +131,10 @@ in {
|
|||
server = "nixd";
|
||||
options = {
|
||||
nixos = {
|
||||
expr = ''(builtins.getFlake "/home/crony/Repos/nixos").nixosConfigurations.CONFIGNAME.options'';
|
||||
expr = ''(builtins.getFlake "/home/crony/repos/nixos").nixosConfigurations.CONFIGNAME.options'';
|
||||
};
|
||||
home_manager = {
|
||||
expr = ''(builtins.getFlake "/home/crony/Repos/nixos").homeConfigurations.CONFIGNAME.options'';
|
||||
expr = ''(builtins.getFlake "/home/crony/repos/nixos").homeConfigurations.CONFIGNAME.options'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
# Install nh
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
flake = "/home/crony/Repos/nixos";
|
||||
flake = "/home/crony/repos/nixos";
|
||||
clean = {
|
||||
enable = true;
|
||||
extraArgs = "--keep 5 --keep-since 3d";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue