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