Compare commits
3
Commits
61f4e15fb2
...
7fb5a0515a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7fb5a0515a
|
||
|
|
1cf44c97cc
|
||
|
|
7fc9d10092
|
@@ -7,6 +7,7 @@
|
|||||||
(grub-boot "/dev/nvme0n1")
|
(grub-boot "/dev/nvme0n1")
|
||||||
development-tools
|
development-tools
|
||||||
i18n-de
|
i18n-de
|
||||||
|
mount-duke-smb
|
||||||
|
|
||||||
#TODO: moar aspects
|
#TODO: moar aspects
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
flake.modules.nixos.tux = {
|
flake.modules.nixos.tux-devtools = {
|
||||||
imports = with inputs.self.modules.nixos;
|
imports = with inputs.self.modules.nixos;
|
||||||
with inputs.self.factory; [
|
with inputs.self.factory; [
|
||||||
development-tools
|
development-tools
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
udev-pio
|
udev-pio
|
||||||
udev-lauterbach
|
udev-lauterbach
|
||||||
|
|
||||||
docker
|
(docker [ "weckyy702" ])
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,20 +1,18 @@
|
|||||||
{
|
{
|
||||||
flake.modules.nixos.tux = {
|
flake.modules.nixos.tux-filesystems = {
|
||||||
fileSystems."/" =
|
fileSystems."/" = {
|
||||||
{ device = "/dev/mapper/luks-9d836ef1-a7f9-430f-8fb8-f202f6336e5a";
|
device = "/dev/mapper/luks-9d836ef1-a7f9-430f-8fb8-f202f6336e5a";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" = {
|
||||||
{ device = "/dev/disk/by-uuid/15FA-55CF";
|
device = "/dev/disk/by-uuid/15FA-55CF";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0077" "dmask=0077" ];
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices =
|
swapDevices = [
|
||||||
[ { device = "/dev/mapper/luks-46e78828-ab23-48b8-8e2a-de7a21adbe24"; }
|
{ device = "/dev/mapper/luks-46e78828-ab23-48b8-8e2a-de7a21adbe24"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
flake.modules.nixos.tux = {
|
flake.modules.nixos.tux-hardware = {
|
||||||
imports = with inputs.self.modules.nixos; [
|
imports = with inputs.self.modules.nixos; [
|
||||||
intel-gpu
|
intel-gpu
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
flake.modules.nixos.tux = {
|
flake.modules.nixos.tux-networking = {
|
||||||
imports = with inputs.self.modules.nixos; [
|
imports = with inputs.self.modules.nixos; [
|
||||||
networkmanager
|
networkmanager
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -6,14 +6,19 @@
|
|||||||
systemd-boot
|
systemd-boot
|
||||||
bluetooth
|
bluetooth
|
||||||
i18n-de
|
i18n-de
|
||||||
powermanagement
|
|
||||||
|
|
||||||
(autologin "weckyy702")
|
|
||||||
|
|
||||||
home-vpn
|
home-vpn
|
||||||
opentablet
|
opentablet
|
||||||
|
|
||||||
appimage
|
appimage
|
||||||
|
powermanagement
|
||||||
|
mount-duke-smb
|
||||||
|
tux-hardware
|
||||||
|
tux-filesystems
|
||||||
|
tux-networking
|
||||||
|
tux-devtools
|
||||||
|
|
||||||
|
tux-weckyy702
|
||||||
|
|
||||||
|
(autologin "weckyy702")
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
flake.modules.nixos.tux = {
|
|
||||||
users.users.weckyy702.extraGroups = [ "docker" ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
{ inputs, ... }: {
|
|
||||||
flake.modules.nixos.tux = { config, ... }: {
|
|
||||||
age.secrets."nas-creds".file = "${inputs.secrets}/nas-creds.age";
|
|
||||||
|
|
||||||
imports = with inputs.self.factory; [
|
|
||||||
(mount-cifs {
|
|
||||||
host = "duke.veltnet";
|
|
||||||
resource = "smb-share";
|
|
||||||
destination = "/mnt/nas";
|
|
||||||
credentials_path = "${config.age.secrets.nas-creds.path}";
|
|
||||||
UID = "weckyy702";
|
|
||||||
GID = "users";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
flake.modules.nixos.tux = {
|
flake.modules.nixos.tux-weckyy702 = {
|
||||||
imports = with inputs.self.modules.nixos; [
|
imports = with inputs.self.modules.nixos; [
|
||||||
weckyy702
|
weckyy702
|
||||||
upower
|
upower
|
||||||
|
|||||||
@@ -1,8 +1,14 @@
|
|||||||
{
|
{
|
||||||
flake.modules.nixos.docker = {
|
config.flake.factory.docker = users: { lib, ... }: {
|
||||||
virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoPrune.enable = true;
|
autoPrune.enable = true;
|
||||||
};
|
};
|
||||||
|
users.users =
|
||||||
|
lib.genAttrs
|
||||||
|
users
|
||||||
|
(_: {
|
||||||
|
extraGroups = [ "docker" ];
|
||||||
|
});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
flake.modules.nixos.keith = { config, ... }: {
|
flake.modules.nixos.mount-duke-smb = { config, ... }: {
|
||||||
age.secrets."nas-creds".file = "${inputs.secrets}/nas-creds.age";
|
age.secrets."nas-creds".file = "${inputs.secrets}/nas-creds.age";
|
||||||
|
|
||||||
imports = with inputs.self.factory; [
|
imports = with inputs.self.factory; [
|
||||||
Reference in New Issue
Block a user