Compare commits
No commits in common. "65ff3fcd118404da8b40d5dc579da2c282ad3362" and "1b94cf91f453adba5a111f1d002395b2018c976b" have entirely different histories.
65ff3fcd11
...
1b94cf91f4
26 changed files with 32 additions and 95 deletions
20
flake.lock
generated
20
flake.lock
generated
|
@ -467,6 +467,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1732238832,
|
||||||
|
"narHash": "sha256-sQxuJm8rHY20xq6Ah+GwIUkF95tWjGRd1X8xF+Pkk38=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "8edf06bea5bcbee082df1b7369ff973b91618b8d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixpkgs-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixvim": {
|
"nixvim": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"devshell": "devshell",
|
"devshell": "devshell",
|
||||||
|
@ -561,9 +577,7 @@
|
||||||
"flake-utils": "flake-utils_2",
|
"flake-utils": "flake-utils_2",
|
||||||
"gnome-shell": "gnome-shell",
|
"gnome-shell": "gnome-shell",
|
||||||
"home-manager": "home-manager_3",
|
"home-manager": "home-manager_3",
|
||||||
"nixpkgs": [
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": "systems_2",
|
"systems": "systems_2",
|
||||||
"tinted-foot": "tinted-foot",
|
"tinted-foot": "tinted-foot",
|
||||||
"tinted-kitty": "tinted-kitty",
|
"tinted-kitty": "tinted-kitty",
|
||||||
|
|
13
flake.nix
13
flake.nix
|
@ -19,10 +19,7 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
stylix = {
|
stylix.url = "github:danth/stylix";
|
||||||
url ="github:danth/stylix";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
|
|
||||||
nixvim = {
|
nixvim = {
|
||||||
url = "github:nix-community/nixvim";
|
url = "github:nix-community/nixvim";
|
||||||
|
@ -76,7 +73,7 @@
|
||||||
attrs.stylix.nixosModules.stylix
|
attrs.stylix.nixosModules.stylix
|
||||||
attrs.nixvim.nixosModules.nixvim
|
attrs.nixvim.nixosModules.nixvim
|
||||||
attrs.nixos-hardware.nixosModules.framework-12th-gen-intel
|
attrs.nixos-hardware.nixosModules.framework-12th-gen-intel
|
||||||
./hosts/Lenni
|
./hosts
|
||||||
./users/willifan
|
./users/willifan
|
||||||
./pkgs
|
./pkgs
|
||||||
];
|
];
|
||||||
|
@ -107,7 +104,7 @@
|
||||||
attrs.nixos-hardware.nixosModules.common-cpu-amd
|
attrs.nixos-hardware.nixosModules.common-cpu-amd
|
||||||
attrs.nixos-hardware.nixosModules.common-cpu-amd-pstate
|
attrs.nixos-hardware.nixosModules.common-cpu-amd-pstate
|
||||||
attrs.nixos-hardware.nixosModules.common-cpu-amd-zenpower
|
attrs.nixos-hardware.nixosModules.common-cpu-amd-zenpower
|
||||||
./hosts/Puenktchen
|
./hosts
|
||||||
./users/willifan
|
./users/willifan
|
||||||
./pkgs
|
./pkgs
|
||||||
];
|
];
|
||||||
|
@ -138,7 +135,7 @@
|
||||||
attrs.nixos-hardware.nixosModules.common-cpu-amd
|
attrs.nixos-hardware.nixosModules.common-cpu-amd
|
||||||
attrs.nixos-hardware.nixosModules.common-cpu-amd-pstate
|
attrs.nixos-hardware.nixosModules.common-cpu-amd-pstate
|
||||||
attrs.nixos-hardware.nixosModules.common-cpu-amd-zenpower
|
attrs.nixos-hardware.nixosModules.common-cpu-amd-zenpower
|
||||||
./hosts/Anton
|
./hosts
|
||||||
./users/willifan
|
./users/willifan
|
||||||
./pkgs
|
./pkgs
|
||||||
];
|
];
|
||||||
|
@ -167,7 +164,7 @@
|
||||||
attrs.stylix.nixosModules.stylix
|
attrs.stylix.nixosModules.stylix
|
||||||
attrs.nixvim.nixosModules.nixvim
|
attrs.nixvim.nixosModules.nixvim
|
||||||
attrs.jovian.nixosModules.default
|
attrs.jovian.nixosModules.default
|
||||||
./hosts/Lillie
|
./hosts
|
||||||
./users/willifan
|
./users/willifan
|
||||||
./pkgs
|
./pkgs
|
||||||
];
|
];
|
||||||
|
|
|
@ -16,9 +16,6 @@
|
||||||
./radicale.nix
|
./radicale.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
|
|
||||||
../../modules/common
|
|
||||||
../../modules/server
|
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,8 +4,5 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
#./disko.nix
|
#./disko.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
|
|
||||||
../../modules/common
|
|
||||||
../../modules/desktop
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,5 @@
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./disko.nix
|
./disko.nix
|
||||||
|
|
||||||
../../modules/common
|
|
||||||
../../modules/desktop
|
|
||||||
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,10 +3,8 @@
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./disko.nix
|
./disko.nix
|
||||||
|
./syncthing.nix
|
||||||
../../modules/common
|
|
||||||
../../modules/desktop
|
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||||
}
|
}
|
||||||
|
|
8
hosts/default.nix
Normal file
8
hosts/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{ hostname, type, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./common
|
||||||
|
./${type}
|
||||||
|
./${hostname}
|
||||||
|
];
|
||||||
|
}
|
|
@ -1,70 +0,0 @@
|
||||||
{ lib, config, ... }:
|
|
||||||
{
|
|
||||||
|
|
||||||
options = {
|
|
||||||
|
|
||||||
syncthing.devices = lib.mkOption {
|
|
||||||
default = { };
|
|
||||||
type = lib.types.attrsOf (lib.types.submodule {
|
|
||||||
options = {
|
|
||||||
|
|
||||||
id = lib.mkOption {
|
|
||||||
type = lib.types.str;
|
|
||||||
default = null;
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
});
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.syncthing = {
|
|
||||||
enable = true;
|
|
||||||
user = "willifan";
|
|
||||||
dataDir = "/mnt/data";
|
|
||||||
configDir = "/mnt/data/.config/syncthing";
|
|
||||||
overrideDevices = true;
|
|
||||||
overrideFolders = true;
|
|
||||||
settings = {
|
|
||||||
gui = {
|
|
||||||
user = "willifan";
|
|
||||||
password = "temppassword";
|
|
||||||
};
|
|
||||||
devices = {
|
|
||||||
Anton = { id = "WCDBADD-UPKCACI-X2YJOIO-5QC44PL-DBCR6TS-ADVQV33-HSMF32O-FOKMKAU"; };
|
|
||||||
};
|
|
||||||
folders = {
|
|
||||||
"Documents" = {
|
|
||||||
id = "jtl6g-qjmwo";
|
|
||||||
path = "/mnt/data/Documents";
|
|
||||||
devices = [ "Anton" ];
|
|
||||||
};
|
|
||||||
"Enpass" = {
|
|
||||||
id = "ciksm-xsw4m";
|
|
||||||
path = "/mnt/data/Enpass";
|
|
||||||
devices = [ "Anton" ];
|
|
||||||
};
|
|
||||||
"Pictures" = {
|
|
||||||
id = "po4qj-q9t0t";
|
|
||||||
path = "/mnt/data/Pictures";
|
|
||||||
devices = [ "Anton" ];
|
|
||||||
};
|
|
||||||
"Videos" = {
|
|
||||||
id = "4wqf5-xasng";
|
|
||||||
path = "/mnt/data/Videos";
|
|
||||||
devices = [ "Anton" ];
|
|
||||||
};
|
|
||||||
"Notes" = {
|
|
||||||
id = "oc61n-iewgj";
|
|
||||||
path = "/mnt/data/Notes";
|
|
||||||
devices = [ "Anton" ];
|
|
||||||
};
|
|
||||||
"Music" = {
|
|
||||||
id = "xxh8a-3y2tq";
|
|
||||||
path = "/mnt/data/Music";
|
|
||||||
devices = [ "Anton" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue