feat: add home-manager state version
This commit is contained in:
parent
a9f699c4e1
commit
ed196164d0
4 changed files with 33 additions and 6 deletions
|
@ -1,4 +1,6 @@
|
|||
{config, ...}: {
|
||||
{config, ...}: let
|
||||
inherit (config.marleyos.my) name;
|
||||
in {
|
||||
networking = {
|
||||
computerName = "mairley";
|
||||
hostName = "mairley";
|
||||
|
@ -10,8 +12,8 @@
|
|||
};
|
||||
|
||||
users = {
|
||||
knownUsers = ["marley"];
|
||||
users."marley" = {
|
||||
knownUsers = [name];
|
||||
users."${name}" = {
|
||||
# This is required for some reason.
|
||||
uid = 501;
|
||||
|
||||
|
@ -19,5 +21,9 @@
|
|||
};
|
||||
};
|
||||
|
||||
home-manager.users."${name}" = {
|
||||
home.stateVersion = "24.05";
|
||||
};
|
||||
|
||||
system.stateVersion = 5;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
{config, ...}: let
|
||||
inherit (config.marleyos.my) name;
|
||||
in {
|
||||
imports = [./hardware-configuration.nix];
|
||||
|
||||
networking.hostName = "marleycentre";
|
||||
|
@ -25,5 +27,9 @@
|
|||
allowedUDPPorts = [6881];
|
||||
};
|
||||
|
||||
home-manager.users."${name}" = {
|
||||
home.stateVersion = "24.05";
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
{config, ...}: let
|
||||
inherit (config.marleyos.my) name;
|
||||
in {
|
||||
imports = [./hardware-configuration.nix];
|
||||
|
||||
networking.hostName = "marleynet";
|
||||
|
@ -23,5 +25,9 @@
|
|||
|
||||
services.openssh.ports = [222];
|
||||
|
||||
home-manager.users."${name}" = {
|
||||
home.stateVersion = "24.05";
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{marleylib, ...}: let
|
||||
{
|
||||
marleylib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (marleylib.module) enabled;
|
||||
inherit (config.marleyos.my) name;
|
||||
in {
|
||||
imports = [./hardware-configuration.nix ./mounts.nix ./autorandr.nix];
|
||||
|
||||
|
@ -17,5 +22,9 @@ in {
|
|||
mounts.babeshare = enabled;
|
||||
};
|
||||
|
||||
home-manager.users."${name}" = {
|
||||
home.stateVersion = "24.05";
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue