Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da3ac92eb6 | ||
|
|
2a68f77860 | ||
|
|
af4e09ebd7 | ||
|
|
56b1e85109 |
46 changed files with 608 additions and 770 deletions
159
flake.lock
generated
159
flake.lock
generated
|
|
@ -186,11 +186,11 @@
|
|||
"nixpkgs-lib": "nixpkgs-lib"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775087534,
|
||||
"narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
|
||||
"lastModified": 1768135262,
|
||||
"narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
|
||||
"rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -284,11 +284,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775425411,
|
||||
"narHash": "sha256-KY6HsebJHEe5nHOWP7ur09mb0drGxYSzE3rQxy62rJo=",
|
||||
"lastModified": 1768949235,
|
||||
"narHash": "sha256-TtjKgXyg1lMfh374w5uxutd6Vx2P/hU81aEhTxrO2cg=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "0d02ec1d0a05f88ef9e74b516842900c41f0f2fe",
|
||||
"rev": "75ed713570ca17427119e7e204ab3590cc3bf2a5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -332,11 +332,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1769799857,
|
||||
"narHash": "sha256-88IFXZ7Sa1vxbz5pty0Io5qEaMQMMUPMonLa3Ls/ss4=",
|
||||
"lastModified": 1768908532,
|
||||
"narHash": "sha256-HIdLXEFaUVE8FiaCPJbCfBMsnF+mVtDub8Jwj2BD+mk=",
|
||||
"owner": "nix-community",
|
||||
"repo": "naersk",
|
||||
"rev": "9d4ed44d8b8cecdceb1d6fd76e74123d90ae6339",
|
||||
"rev": "8d97452673640eb7fabe428e8b6a425bc355008b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -359,11 +359,11 @@
|
|||
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775710668,
|
||||
"narHash": "sha256-pi2TWoWZR22vzr5RBAgIdl1LDwgLX+fh+Hqngt/Kkt8=",
|
||||
"lastModified": 1769170609,
|
||||
"narHash": "sha256-LiyaKNga2z/iG4pNr86iQLySEDoOytEzTCblxzRjnCk=",
|
||||
"owner": "sodiboo",
|
||||
"repo": "niri-flake",
|
||||
"rev": "bef414577a6a745543989716df478afec96486bd",
|
||||
"rev": "08d6e6adf34b0af12be7eaeacc0b4c1a8580b3da",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -392,11 +392,11 @@
|
|||
"niri-unstable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1775561155,
|
||||
"narHash": "sha256-TK2IrqQivRcwqJa0suZMbcsN17CtA8Uu0v7CDnLATb0=",
|
||||
"lastModified": 1768678265,
|
||||
"narHash": "sha256-Ub8eed4DsfIDWyg30xEe+8bSxL/z5Af/gCjmvJ0V/Hs=",
|
||||
"owner": "YaLTeR",
|
||||
"repo": "niri",
|
||||
"rev": "599db847f857b8a7ff78ce02f15acab5d5d9fee1",
|
||||
"rev": "d7184a04b904e07113f4623610775ae78d32394c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -427,11 +427,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775703285,
|
||||
"narHash": "sha256-Dck/lX920n3ClC6U2m3fWaXgoGrtJpnqfGCdiOb8Gf4=",
|
||||
"lastModified": 1769134548,
|
||||
"narHash": "sha256-16UWbfkIEaG728vwCdXM5C/8f1NLqBwZc039p8Yj9CA=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-vscode-extensions",
|
||||
"rev": "c2281bf25d05ecb8155319456340afd34bea28ec",
|
||||
"rev": "969bb9a90fa1365e8b5028d1b67dbd439b268675",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -463,11 +463,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1769813415,
|
||||
"narHash": "sha256-nnVmNNKBi1YiBNPhKclNYDORoHkuKipoz7EtVnXO50A=",
|
||||
"lastModified": 1764234087,
|
||||
"narHash": "sha256-NHF7QWa0ZPT8hsJrvijREW3+nifmF2rTXgS2v0tpcEA=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixos-generators",
|
||||
"rev": "8946737ff703382fda7623b9fab071d037e897d5",
|
||||
"rev": "032a1878682fafe829edfcf5fdfad635a2efe748",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -478,11 +478,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1775595990,
|
||||
"narHash": "sha256-OEf7YqhF9IjJFYZJyuhAypgU+VsRB5lD4DuiMws5Ltc=",
|
||||
"lastModified": 1769089682,
|
||||
"narHash": "sha256-9yA/LIuAVQq0lXelrZPjLuLVuZdm03p8tfmHhnDIkms=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "4e92bbcdb030f3b4782be4751dc08e6b6cb6ccf2",
|
||||
"rev": "078d69f03934859a181e81ba987c2bb033eebfc5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -494,11 +494,11 @@
|
|||
},
|
||||
"nixpkgs-lib": {
|
||||
"locked": {
|
||||
"lastModified": 1774748309,
|
||||
"narHash": "sha256-+U7gF3qxzwD5TZuANzZPeJTZRHS29OFQgkQ2kiTJBIQ=",
|
||||
"lastModified": 1765674936,
|
||||
"narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs.lib",
|
||||
"rev": "333c4e0545a6da976206c74db8773a1645b5870a",
|
||||
"rev": "2075416fcb47225d9b68ac469a5c4801a9c4dd85",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -509,11 +509,11 @@
|
|||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1775701739,
|
||||
"narHash": "sha256-2FWWY1rr/+pGUJK1npcVcsWNEblzmKs6VxD3VEvwJSs=",
|
||||
"lastModified": 1768875095,
|
||||
"narHash": "sha256-dYP3DjiL7oIiiq3H65tGIXXIT1Waiadmv93JS0sS+8A=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "0f7663154ff2fec150f9dbf5f81ec2785dc1e0db",
|
||||
"rev": "ed142ab1b3a092c4d149245d0c4126a5d7ea00b0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -539,28 +539,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nova-shell": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs-unstable"
|
||||
],
|
||||
"quickshell": "quickshell",
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1776022066,
|
||||
"narHash": "sha256-EVl6pS3C8qogiqMNGBLibPsnK8saURb5Ayf9pxzcFjA=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "d33b47139a431ebc6aef9926f1f80bb2420ac596",
|
||||
"revCount": 152,
|
||||
"type": "git",
|
||||
"url": "https://git.berlin.ccc.de/vinzenz/nova-shell"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://git.berlin.ccc.de/vinzenz/nova-shell"
|
||||
}
|
||||
},
|
||||
"nur": {
|
||||
"inputs": {
|
||||
"flake-parts": [
|
||||
|
|
@ -571,11 +549,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775746236,
|
||||
"narHash": "sha256-wCMkv45LNU6gjWbl53WE4LAHU3Q3dNFU4dRWdlGW1PE=",
|
||||
"lastModified": 1769190062,
|
||||
"narHash": "sha256-HXy1M80RWBW7cIIMQ/bBV/pMa3NmK6MYOOz/kA4bHIw=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "1088e4c4f5f40c9ce5e5181ae501576f72f1bce8",
|
||||
"rev": "82023efed13ef3c1bfe99f0cd669139b4a2d2694",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -610,27 +588,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"quickshell": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nova-shell",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775720097,
|
||||
"narHash": "sha256-p+vqkCuFfVNyQBo370wr6MebNUvz55RZiC0m8YKUhvQ=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "d4c92973b53d9fa34cc110d3b974eb6bde5b3027",
|
||||
"revCount": 800,
|
||||
"type": "git",
|
||||
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts",
|
||||
|
|
@ -643,13 +600,12 @@
|
|||
"nixos-generators": "nixos-generators",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||
"nova-shell": "nova-shell",
|
||||
"nur": "nur",
|
||||
"servicepoint-cli": "servicepoint-cli",
|
||||
"servicepoint-simulator": "servicepoint-simulator",
|
||||
"servicepoint-tanks": "servicepoint-tanks",
|
||||
"stylix": "stylix",
|
||||
"treefmt-nix": "treefmt-nix_2",
|
||||
"treefmt-nix": "treefmt-nix",
|
||||
"zerforschen-plus": "zerforschen-plus"
|
||||
}
|
||||
},
|
||||
|
|
@ -707,11 +663,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771709842,
|
||||
"narHash": "sha256-zbKj2waitgCFE/I4DcV4lWMRkQ7gDOa9QgPXVTao5+g=",
|
||||
"lastModified": 1764875421,
|
||||
"narHash": "sha256-ZO9wiokPhropwsU3BfIgjm1bc59SIyqrfjfnFCM2Q68=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "6c731e3f5ac0fc63e3cf1e727856f3a3327fddfb",
|
||||
"revCount": 52,
|
||||
"rev": "fa892558f123c5d5395663fa666466c73b997245",
|
||||
"revCount": 48,
|
||||
"type": "git",
|
||||
"url": "https://git.berlin.ccc.de/servicepoint/servicepoint-cli.git"
|
||||
},
|
||||
|
|
@ -791,11 +747,11 @@
|
|||
"tinted-zed": "tinted-zed"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775509805,
|
||||
"narHash": "sha256-CxmSn6FihFw7RvqLGGAdQUhbdBfdok946bg8ubvTfa4=",
|
||||
"lastModified": 1768493544,
|
||||
"narHash": "sha256-9qk2W/6GJWLAFXNruK/zdJ0bm3bfP50vJFbtuAjQpa4=",
|
||||
"owner": "nix-community",
|
||||
"repo": "stylix",
|
||||
"rev": "83e8a81710ddd56fb5112da54e0395de51bbcd3a",
|
||||
"rev": "362306faaa7459bebf8eabf135879785f3da9bd2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -904,36 +860,15 @@
|
|||
"treefmt-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nova-shell",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775636079,
|
||||
"narHash": "sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0=",
|
||||
"lastModified": 1768158989,
|
||||
"narHash": "sha256-67vyT1+xClLldnumAzCTBvU0jLZ1YBcf4vANRWP3+Ak=",
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"rev": "790751ff7fd3801feeaf96d7dc416a8d581265ba",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"treefmt-nix_2": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775636079,
|
||||
"narHash": "sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0=",
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"rev": "790751ff7fd3801feeaf96d7dc416a8d581265ba",
|
||||
"rev": "e96d59dff5c0d7fddb9d113ba108f03c3ef99eca",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -962,11 +897,11 @@
|
|||
"xwayland-satellite-unstable": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1773622265,
|
||||
"narHash": "sha256-wToKwH7IgWdGLMSIWksEDs4eumR6UbbsuPQ42r0oTXQ=",
|
||||
"lastModified": 1768765571,
|
||||
"narHash": "sha256-C1JbyJ3ftogmN3vmLNfyPtnJw2wY64TiUTIhFtk1Leg=",
|
||||
"owner": "Supreeeme",
|
||||
"repo": "xwayland-satellite",
|
||||
"rev": "a879e5e0896a326adc79c474bf457b8b99011027",
|
||||
"rev": "ed1cef792b4def3321ff9ab5479df09609f17a69",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
23
flake.nix
23
flake.nix
|
|
@ -23,10 +23,8 @@
|
|||
};
|
||||
niri = {
|
||||
url = "github:sodiboo/niri-flake";
|
||||
inputs = {
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
nixpkgs-stable.follows = "nixpkgs";
|
||||
};
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.nixpkgs-stable.follows = "nixpkgs";
|
||||
};
|
||||
nix-filter.url = "github:numtide/nix-filter";
|
||||
nix-vscode-extensions = {
|
||||
|
|
@ -37,10 +35,6 @@
|
|||
url = "github:nix-community/nixos-generators";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nova-shell = {
|
||||
url = "git+https://git.berlin.ccc.de/vinzenz/nova-shell";
|
||||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||
};
|
||||
nur = {
|
||||
url = "github:nix-community/NUR";
|
||||
inputs = {
|
||||
|
|
@ -111,16 +105,16 @@
|
|||
}:
|
||||
let
|
||||
devices = {
|
||||
muede-lpt2 = {
|
||||
vinzenz-lpt2 = {
|
||||
system = "x86_64-linux";
|
||||
home-manager-users = {
|
||||
inherit (self.homeConfigurations) muede;
|
||||
inherit (self.homeConfigurations) vinzenz;
|
||||
};
|
||||
};
|
||||
muede-pc2 = {
|
||||
vinzenz-pc2 = {
|
||||
system = "x86_64-linux";
|
||||
home-manager-users = {
|
||||
inherit (self.homeConfigurations) muede;
|
||||
inherit (self.homeConfigurations) vinzenz;
|
||||
};
|
||||
};
|
||||
ronja-pc = {
|
||||
|
|
@ -138,9 +132,6 @@
|
|||
epimetheus = {
|
||||
system = "aarch64-linux";
|
||||
};
|
||||
damocles = {
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
};
|
||||
inherit (nixpkgs) lib;
|
||||
forDevice = f: lib.mapAttrs (device: value: f (value // { inherit device; })) devices;
|
||||
|
|
@ -206,7 +197,7 @@
|
|||
|
||||
homeModules = importModuleDir ./homeModules;
|
||||
homeConfigurations = {
|
||||
muede = ./homeConfigurations/muede;
|
||||
vinzenz = ./homeConfigurations/vinzenz;
|
||||
ronja = ./homeConfigurations/ronja;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,35 +0,0 @@
|
|||
{
|
||||
programs = {
|
||||
git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
user = {
|
||||
name = "müde";
|
||||
email = "git@darkest.space";
|
||||
};
|
||||
|
||||
aliases = {
|
||||
prettylog = "log --pretty=oneline --graph";
|
||||
spring-clean = "!git branch --merged | xargs -n 1 -r git branch -d";
|
||||
};
|
||||
|
||||
pull.ff = "only";
|
||||
merge.tool = "kdiff3";
|
||||
push.autoSetupRemote = "true";
|
||||
credential.credentialStore = "cache";
|
||||
};
|
||||
|
||||
ignores = [
|
||||
".direnv"
|
||||
".idea"
|
||||
".envrc"
|
||||
];
|
||||
};
|
||||
|
||||
git-credential-oauth.enable = true;
|
||||
gh = {
|
||||
enable = true;
|
||||
gitCredentialHelper.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
{
|
||||
services.podman = {
|
||||
settings = {
|
||||
policy = {
|
||||
default = [ { type = "reject"; } ];
|
||||
transports = {
|
||||
docker-daemon = {
|
||||
"" = [ { type = "insecureAcceptAnything"; } ];
|
||||
};
|
||||
docker = {
|
||||
"docker.io/library/debian" = [ { type = "insecureAcceptAnything"; } ];
|
||||
"docker.io/library/rust" = [ { type = "insecureAcceptAnything"; } ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,63 +0,0 @@
|
|||
# based on https://codeberg.org/kiara/cfg/src/commit/b9c472acd78c9c08dfe8b6a643c5c82cc5828433/home-manager/kiara/swaylock.nix#
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
stylix.targets.swaylock = {
|
||||
enable = true;
|
||||
useWallpaper = true;
|
||||
};
|
||||
|
||||
programs.swaylock = {
|
||||
enable = true;
|
||||
package = pkgs.swaylock-effects;
|
||||
# https://github.com/jirutka/swaylock-effects/blob/master/swaylock.1.scd
|
||||
settings = {
|
||||
screenshot = false;
|
||||
effect-blur = "9x9";
|
||||
effect-vignette = "0.2:0.2";
|
||||
fade-in = 0.5;
|
||||
font-size = 75;
|
||||
indicator-caps-lock = true;
|
||||
clock = true;
|
||||
indicator-radius = 400;
|
||||
show-failed-attempts = true;
|
||||
ignore-empty-password = true;
|
||||
grace = 3.5;
|
||||
indicator-thickness = 20;
|
||||
};
|
||||
};
|
||||
|
||||
services.swayidle = {
|
||||
enable = true;
|
||||
systemdTarget = "graphical-session.target";
|
||||
timeouts = [
|
||||
{
|
||||
timeout = 5;
|
||||
command = "${config.programs.swaylock.package}/bin/swaylock";
|
||||
}
|
||||
{
|
||||
timeout = 60 * 10;
|
||||
command = "${pkgs.systemd}/bin/systemctl suspend";
|
||||
}
|
||||
];
|
||||
events = [
|
||||
{
|
||||
event = "before-sleep";
|
||||
command = "${pkgs.playerctl}/bin/playerctl pause; ${config.programs.swaylock.package}/bin/swaylock";
|
||||
}
|
||||
{
|
||||
event = "lock";
|
||||
command = "${config.programs.swaylock.package}/bin/swaylock";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
programs.niri.settings.binds."Super+Alt+L" = {
|
||||
action.spawn = "${lib.getBin config.programs.swaylock.package}/bin/swaylock";
|
||||
allow-when-locked = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,330 +0,0 @@
|
|||
/* #region stylix overrides*/
|
||||
.modules-left #workspaces button,
|
||||
.modules-left #workspaces button.focused,
|
||||
.modules-left #workspaces button.active,
|
||||
.modules-center #workspaces button,
|
||||
.modules-center #workspaces button.focused,
|
||||
.modules-center #workspaces button.active,
|
||||
.modules-right #workspaces button,
|
||||
.modules-right #workspaces button.focused,
|
||||
.modules-right #workspaces button.active {
|
||||
border-bottom: unset;
|
||||
}
|
||||
/* #endregion */
|
||||
|
||||
* {
|
||||
font-family: monospace;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
transition-property: background-color;
|
||||
transition-duration: 0.5s;
|
||||
/* Gradient border spanning the entire waybar window */
|
||||
border-bottom: 3px solid transparent;
|
||||
background-clip: padding-box, border-box;
|
||||
background-origin: padding-box, border-box;
|
||||
background-image:
|
||||
linear-gradient(135deg, @base00, @base01),
|
||||
linear-gradient(135deg, @base0C, @base09);
|
||||
}
|
||||
|
||||
/* Common pill styling for all widgets */
|
||||
#clock,
|
||||
#cpu,
|
||||
#memory,
|
||||
#disk,
|
||||
#temperature,
|
||||
#backlight,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#wireplumber,
|
||||
#custom-media,
|
||||
#mode,
|
||||
#scratchpad,
|
||||
#mpd,
|
||||
#custom-weather,
|
||||
#battery,
|
||||
#power-profiles-daemon,
|
||||
#idle_inhibitor,
|
||||
#custom-swaync,
|
||||
#bluetooth,
|
||||
#mpris,
|
||||
#upower,
|
||||
#workspaces,
|
||||
#window,
|
||||
#tray,
|
||||
#custom-wlogout,
|
||||
#privacy-item {
|
||||
margin: 0px 4px 6px;
|
||||
padding: 0px 8px;
|
||||
background: linear-gradient(135deg, @base02, @base01);
|
||||
border-radius: 15px;
|
||||
border: 2px solid;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
/* special treatment for weird sized widgets */
|
||||
#custom-wlogout,
|
||||
#power-profiles-daemon,
|
||||
#idle_inhibitor {
|
||||
padding: 0px 10px 0px 8px;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
/* Individual widget colors */
|
||||
#workspaces,
|
||||
#window,
|
||||
#tray {
|
||||
border-color: @base0D;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 6px;
|
||||
background-color: transparent;
|
||||
color: @base05;
|
||||
border-radius: 15px;
|
||||
border: none;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: @base03;
|
||||
}
|
||||
|
||||
#workspaces button.focused,
|
||||
#workspaces button.active {
|
||||
background-color: @base03;
|
||||
color: @base07;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: @base08;
|
||||
color: @base00;
|
||||
}
|
||||
|
||||
#clock {
|
||||
color: @base07;
|
||||
border-color: @base0D;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
color: @base09;
|
||||
border-color: @base09;
|
||||
}
|
||||
|
||||
#memory {
|
||||
color: @base0E;
|
||||
border-color: @base0E;
|
||||
}
|
||||
|
||||
#disk {
|
||||
color: @base0D;
|
||||
border-color: @base0D;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
color: @base08;
|
||||
border-color: @base08;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
color: @base0A;
|
||||
border-color: @base0A;
|
||||
}
|
||||
|
||||
#network {
|
||||
color: @base0B;
|
||||
border-color: @base0B;
|
||||
}
|
||||
|
||||
#pulseaudio,
|
||||
#wireplumber {
|
||||
color: @base0D;
|
||||
border-color: @base0D;
|
||||
}
|
||||
|
||||
#custom-media {
|
||||
color: @base0E;
|
||||
border-color: @base0E;
|
||||
}
|
||||
|
||||
#mode {
|
||||
color: @base05;
|
||||
border-color: @base03;
|
||||
box-shadow: inset 0 -3px @base05;
|
||||
}
|
||||
|
||||
#mpd {
|
||||
color: @base0E;
|
||||
border-color: @base0E;
|
||||
}
|
||||
|
||||
#custom-weather {
|
||||
color: @base0B;
|
||||
border-color: @base0B;
|
||||
}
|
||||
|
||||
#battery,
|
||||
#power-profiles-daemon,
|
||||
#idle_inhibitor {
|
||||
color: @base05;
|
||||
border-color: @base03;
|
||||
}
|
||||
|
||||
#custom-swaync {
|
||||
color: @base0E;
|
||||
border-color: @base0E;
|
||||
}
|
||||
|
||||
#bluetooth {
|
||||
color: @base0D;
|
||||
border-color: @base0D;
|
||||
}
|
||||
|
||||
#mpris {
|
||||
color: @base0E;
|
||||
border-color: @base0E;
|
||||
}
|
||||
|
||||
#upower {
|
||||
color: @base0B;
|
||||
border-color: @base0B;
|
||||
}
|
||||
|
||||
/* If workspaces is the leftmost module, omit left margin */
|
||||
.modules-left > widget:first-child > #workspaces {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* If workspaces is the rightmost module, omit right margin */
|
||||
.modules-right > widget:last-child > #workspaces {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/* Battery states with colored glows */
|
||||
#battery.charging {
|
||||
box-shadow: 0 0 6px rgba(168, 201, 255, 0.6);
|
||||
border-color: @base0B;
|
||||
color: @base0B;
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
box-shadow: 0 0 6px rgba(209, 98, 164, 0.6);
|
||||
border-color: @base0A;
|
||||
color: @base0A;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #ffffff;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
box-shadow: 0 0 6px rgba(243, 139, 168, 0.8);
|
||||
border-color: @base08;
|
||||
color: @base08;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
/* Using steps() instead of linear as a timing function to limit cpu usage */
|
||||
animation-timing-function: steps(12);
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
/* Bluetooth connected state */
|
||||
#bluetooth.connected {
|
||||
box-shadow: 0 0 6px rgba(137, 180, 250, 0.5);
|
||||
}
|
||||
|
||||
/* Power profiles with state-appropriate glows */
|
||||
#power-profiles-daemon.performance {
|
||||
box-shadow: 0 0 6px rgba(243, 139, 168, 0.6);
|
||||
border-color: @base08;
|
||||
color: @base08;
|
||||
}
|
||||
|
||||
#power-profiles-daemon.balanced {
|
||||
box-shadow: 0 0 6px rgba(137, 180, 250, 0.6);
|
||||
border-color: @base0D;
|
||||
color: @base0D;
|
||||
}
|
||||
|
||||
#power-profiles-daemon.power-saver {
|
||||
box-shadow: 0 0 6px rgba(168, 201, 255, 0.6);
|
||||
border-color: @base0B;
|
||||
color: @base0B;
|
||||
}
|
||||
|
||||
/* Idle inhibitor with state glow */
|
||||
#idle_inhibitor.activated {
|
||||
box-shadow: 0 0 6px rgba(137, 180, 250, 0.6);
|
||||
border-color: @base0D;
|
||||
color: @base0D;
|
||||
}
|
||||
|
||||
/* MPD states with glows */
|
||||
#mpd.playing {
|
||||
box-shadow: 0 0 6px rgba(168, 201, 255, 0.5);
|
||||
border-color: @base0B;
|
||||
color: @base0B;
|
||||
}
|
||||
|
||||
#mpd.paused {
|
||||
box-shadow: 0 0 6px rgba(203, 166, 247, 0.5);
|
||||
border-color: @base0E;
|
||||
color: @base0E;
|
||||
}
|
||||
|
||||
#mpd.disconnected,
|
||||
#mpd.stopped {
|
||||
color: @base04;
|
||||
}
|
||||
|
||||
#tray > .passive {
|
||||
-gtk-icon-effect: dim;
|
||||
}
|
||||
|
||||
#tray > .needs-attention {
|
||||
-gtk-icon-effect: highlight;
|
||||
box-shadow: 0 0 6px rgba(243, 139, 168, 0.8);
|
||||
border-color: @base08;
|
||||
}
|
||||
|
||||
#privacy {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#privacy-item.screenshare {
|
||||
box-shadow: 0 0 6px rgba(209, 98, 164, 0.6);
|
||||
border-color: @base0A;
|
||||
color: @base0A;
|
||||
}
|
||||
|
||||
#privacy-item.audio-in {
|
||||
box-shadow: 0 0 6px rgba(168, 201, 255, 0.6);
|
||||
border-color: @base0B;
|
||||
color: @base0B;
|
||||
}
|
||||
|
||||
#privacy-item.audio-out {
|
||||
box-shadow: 0 0 6px rgba(137, 180, 250, 0.6);
|
||||
border-color: @base0D;
|
||||
color: @base0D;
|
||||
}
|
||||
|
||||
/* Custom wlogout button */
|
||||
#custom-wlogout {
|
||||
color: @base08;
|
||||
border-color: @base08;
|
||||
}
|
||||
|
||||
#custom-wlogout:hover {
|
||||
box-shadow: 0 0 6px rgba(243, 139, 168, 0.5);
|
||||
}
|
||||
23
homeConfigurations/vinzenz/.config/containers/policy.json
Normal file
23
homeConfigurations/vinzenz/.config/containers/policy.json
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"default": [
|
||||
{
|
||||
"type": "reject"
|
||||
}
|
||||
],
|
||||
"transports": {
|
||||
"docker-daemon": {
|
||||
"": [
|
||||
{
|
||||
"type": "insecureAcceptAnything"
|
||||
}
|
||||
]
|
||||
},
|
||||
"docker": {
|
||||
"docker.io/library/debian": [
|
||||
{
|
||||
"type": "insecureAcceptAnything"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, self, ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
# keep-sorted start
|
||||
|
|
@ -9,16 +9,14 @@
|
|||
./git.nix
|
||||
./gnome.nix
|
||||
./niri.nix
|
||||
./podman.nix
|
||||
./ssh.nix
|
||||
./starship.nix
|
||||
./swaylock.nix
|
||||
./swaync.nix
|
||||
./vscode.nix
|
||||
# ./waybar.nix
|
||||
# ./wlogout.nix
|
||||
./waybar.nix
|
||||
./wlogout.nix
|
||||
./zsh.nix
|
||||
self.inputs.nova-shell.homeModules.default
|
||||
# keep-sorted end
|
||||
];
|
||||
|
||||
|
|
@ -26,6 +24,7 @@
|
|||
programs = {
|
||||
home-manager.enable = true;
|
||||
fzf.enable = true;
|
||||
git-credential-oauth.enable = true;
|
||||
|
||||
direnv = {
|
||||
enable = true;
|
||||
|
|
@ -49,46 +48,46 @@
|
|||
};
|
||||
|
||||
chromium.enable = true;
|
||||
nova-shell = {
|
||||
enable = true;
|
||||
theme = {
|
||||
fontSize = 13;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# keep-sorted start
|
||||
|
||||
arduino
|
||||
arduino-cli
|
||||
arduino-ide
|
||||
claude-code
|
||||
dconf2nix
|
||||
foliate
|
||||
fractal
|
||||
geary
|
||||
gnome-terminal
|
||||
gparted
|
||||
icu
|
||||
jetbrains-toolbox
|
||||
kdiff3
|
||||
keepassxc
|
||||
lutris
|
||||
nextcloud-client
|
||||
onefetch
|
||||
servicepoint-cli
|
||||
servicepoint-simulator
|
||||
tailscale
|
||||
telegram-desktop
|
||||
thunderbird
|
||||
vlc
|
||||
fractal
|
||||
telegram-desktop
|
||||
|
||||
wireguard-tools
|
||||
wirelesstools
|
||||
# keep-sorted end
|
||||
tailscale
|
||||
|
||||
kdiff3
|
||||
jetbrains-toolbox
|
||||
|
||||
vlc
|
||||
lutris
|
||||
|
||||
arduino
|
||||
arduino-ide
|
||||
arduino-cli
|
||||
|
||||
servicepoint-cli
|
||||
servicepoint-simulator
|
||||
|
||||
icu
|
||||
|
||||
foliate
|
||||
|
||||
dconf2nix
|
||||
|
||||
gnome-terminal
|
||||
];
|
||||
|
||||
home.file = {
|
||||
"policy.json" = {
|
||||
target = ".config/containers/policy.json";
|
||||
text = builtins.readFile ./.config/containers/policy.json;
|
||||
};
|
||||
"idea.properties".text = "idea.filewatcher.executable.path = ${pkgs.fsnotifier}/bin/fsnotifier";
|
||||
};
|
||||
|
||||
27
homeConfigurations/vinzenz/git.nix
Normal file
27
homeConfigurations/vinzenz/git.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
config.programs.git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
user = {
|
||||
name = "müde";
|
||||
email = "git@darkest.space";
|
||||
};
|
||||
|
||||
aliases = {
|
||||
prettylog = "log --pretty=oneline --graph";
|
||||
spring-clean = "!git branch --merged | xargs -n 1 -r git branch -d";
|
||||
};
|
||||
|
||||
pull.ff = "only";
|
||||
merge.tool = "kdiff3";
|
||||
push.autoSetupRemote = "true";
|
||||
credential.credentialStore = "cache";
|
||||
};
|
||||
|
||||
ignores = [
|
||||
".direnv"
|
||||
".idea"
|
||||
".envrc"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
from = pink_dark;
|
||||
to = pink_light;
|
||||
};
|
||||
gap-size = 6;
|
||||
gap-size = 8;
|
||||
in
|
||||
{
|
||||
background-color = "transparent";
|
||||
|
|
@ -172,6 +172,10 @@
|
|||
# Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||
"Mod+T".action.spawn = "${lib.getBin pkgs.gnome-console}/bin/kgx";
|
||||
"Mod+D".action.spawn = "${lib.getBin config.programs.fuzzel.package}/bin/fuzzel";
|
||||
"Super+Alt+L" = {
|
||||
action.spawn = "${lib.getBin config.programs.swaylock.package}/bin/swaylock";
|
||||
allow-when-locked = true;
|
||||
};
|
||||
|
||||
# You can also use a shell. Do this if you need pipes, multiple commands, etc.
|
||||
# Note: the entire command goes as a single argument in the end.
|
||||
|
|
@ -33,6 +33,9 @@
|
|||
style_user = "bg:color_r fg:text_r";
|
||||
style_root = "bold bg:color_r fg:text_r";
|
||||
show_always = true;
|
||||
aliases = {
|
||||
"vinzenz" = "müde";
|
||||
};
|
||||
};
|
||||
os = {
|
||||
disabled = false;
|
||||
|
|
@ -44,8 +47,8 @@
|
|||
format = "$hostname";
|
||||
ssh_symbol = "";
|
||||
aliases = {
|
||||
"muede-lpt2" = "lpt";
|
||||
"muede-pc2" = "pc";
|
||||
"vinzenz-lpt2" = "lpt";
|
||||
"vinzenz-pc2" = "pc";
|
||||
};
|
||||
};
|
||||
container = {
|
||||
54
homeConfigurations/vinzenz/swaylock.nix
Normal file
54
homeConfigurations/vinzenz/swaylock.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
# based on https://codeberg.org/kiara/cfg/src/commit/b9c472acd78c9c08dfe8b6a643c5c82cc5828433/home-manager/kiara/swaylock.nix#
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
config = {
|
||||
stylix.targets.swaylock = {
|
||||
enable = true;
|
||||
useWallpaper = true;
|
||||
};
|
||||
programs.swaylock = {
|
||||
enable = true;
|
||||
package = pkgs.swaylock-effects;
|
||||
# https://github.com/jirutka/swaylock-effects/blob/master/swaylock.1.scd
|
||||
settings = {
|
||||
screenshot = false;
|
||||
effect-blur = "9x9";
|
||||
effect-vignette = "0.2:0.2";
|
||||
fade-in = 0.5;
|
||||
font-size = 75;
|
||||
indicator-caps-lock = true;
|
||||
clock = true;
|
||||
indicator-radius = 400;
|
||||
show-failed-attempts = true;
|
||||
ignore-empty-password = true;
|
||||
grace = 3.5;
|
||||
indicator-thickness = 20;
|
||||
};
|
||||
};
|
||||
|
||||
services.swayidle = {
|
||||
enable = true;
|
||||
systemdTarget = "graphical-session.target";
|
||||
timeouts = [
|
||||
{
|
||||
timeout = 60;
|
||||
command = "${config.programs.swaylock.package}/bin/swaylock";
|
||||
}
|
||||
{
|
||||
timeout = 60 * 10;
|
||||
command = "${pkgs.systemd}/bin/systemctl suspend";
|
||||
}
|
||||
];
|
||||
events = [
|
||||
{
|
||||
event = "before-sleep";
|
||||
command = "${pkgs.playerctl}/bin/playerctl pause; ${config.programs.swaylock.package}/bin/swaylock";
|
||||
}
|
||||
{
|
||||
event = "lock";
|
||||
command = "${config.programs.swaylock.package}/bin/swaylock";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -37,10 +37,6 @@
|
|||
"files.autoSave" = "afterDelay";
|
||||
"files.autoSaveWhenNoErrors" = true;
|
||||
"files.autoSaveWorkspaceFilesOnly" = true;
|
||||
"files.exclude" = [
|
||||
".git"
|
||||
".direnv"
|
||||
];
|
||||
|
||||
"editor.fontLigatures" = true;
|
||||
"editor.formatOnSave" = true;
|
||||
223
homeConfigurations/vinzenz/waybar.css
Normal file
223
homeConfigurations/vinzenz/waybar.css
Normal file
|
|
@ -0,0 +1,223 @@
|
|||
/* #region stylix overrides*/
|
||||
.modules-left #workspaces button,
|
||||
.modules-left #workspaces button.focused,
|
||||
.modules-left #workspaces button.active,
|
||||
.modules-center #workspaces button,
|
||||
.modules-center #workspaces button.focused,
|
||||
.modules-center #workspaces button.active,
|
||||
.modules-right #workspaces button,
|
||||
.modules-right #workspaces button.focused,
|
||||
.modules-right #workspaces button.active {
|
||||
border-bottom: unset;
|
||||
}
|
||||
/* #endregion */
|
||||
|
||||
* {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
transition-property: background-color;
|
||||
transition-duration: 0.5s;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
window#waybar.hidden {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
window#waybar.termite {
|
||||
background-color: #3f3f3f;
|
||||
}
|
||||
|
||||
window#waybar.chromium {
|
||||
background-color: #000000;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.modules-left,
|
||||
.modules-center,
|
||||
.modules-right {
|
||||
border: 0px solid #fff;
|
||||
padding-bottom: 4px;
|
||||
background-clip: content-box, padding-box;
|
||||
background-image:
|
||||
linear-gradient(90deg, @base01, @base01),
|
||||
linear-gradient(90deg, #a30262, #4a6bb1);
|
||||
}
|
||||
|
||||
.modules-center,
|
||||
.modules-left {
|
||||
border-bottom-right-radius: 15px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
.modules-center,
|
||||
.modules-right {
|
||||
border-bottom-left-radius: 15px;
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
widget {
|
||||
margin: 0px 4px;
|
||||
}
|
||||
|
||||
#workspaces,
|
||||
#window,
|
||||
#tray {
|
||||
padding: 4px 6px;
|
||||
margin-left: 6px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#workspaces button.focused,
|
||||
#workspaces button.active {
|
||||
background-color: @base03;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background-color: #64727d;
|
||||
box-shadow: inset 0 -3px #ffffff;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#battery,
|
||||
#cpu,
|
||||
#memory,
|
||||
#disk,
|
||||
#temperature,
|
||||
#backlight,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#wireplumber,
|
||||
#custom-media,
|
||||
#mode,
|
||||
#idle_inhibitor,
|
||||
#scratchpad,
|
||||
#power-profiles-daemon,
|
||||
#mpd {
|
||||
padding: 0 10px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#window,
|
||||
#workspaces {
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
/* If workspaces is the leftmost module, omit left margin */
|
||||
.modules-left > widget:first-child > #workspaces {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* If workspaces is the rightmost module, omit right margin */
|
||||
.modules-right > widget:last-child > #workspaces {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #ffffff;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
|
||||
/* Using steps() instead of linear as a timing function to limit cpu usage */
|
||||
#battery.critical:not(.charging) {
|
||||
background-color: #f53c3c;
|
||||
color: #ffffff;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: steps(12);
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#power-profiles-daemon {
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
#power-profiles-daemon.performance {
|
||||
color: #f53c3c;
|
||||
}
|
||||
|
||||
#power-profiles-daemon.balanced {
|
||||
color: #2980b9;
|
||||
}
|
||||
|
||||
#power-profiles-daemon.power-saver {
|
||||
color: #2ecc71;
|
||||
}
|
||||
|
||||
#tray > .passive {
|
||||
-gtk-icon-effect: dim;
|
||||
}
|
||||
|
||||
#tray > .needs-attention {
|
||||
-gtk-icon-effect: highlight;
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#language {
|
||||
padding: 0 5px;
|
||||
margin: 0 5px;
|
||||
min-width: 16px;
|
||||
}
|
||||
|
||||
#keyboard-state {
|
||||
padding: 0 0px;
|
||||
margin: 0 5px;
|
||||
min-width: 16px;
|
||||
}
|
||||
|
||||
#keyboard-state > label {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
#keyboard-state > label.locked {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#scratchpad {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#scratchpad.empty {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#privacy {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#privacy-item {
|
||||
padding: 0 5px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#privacy-item.screenshare {
|
||||
background-color: #cf5700;
|
||||
}
|
||||
|
||||
#privacy-item.audio-in {
|
||||
background-color: #1ca000;
|
||||
}
|
||||
|
||||
#privacy-item.audio-out {
|
||||
background-color: #0069d4;
|
||||
}
|
||||
|
|
@ -37,24 +37,37 @@
|
|||
"custom/swaync"
|
||||
];
|
||||
modules-right = [
|
||||
"mpris"
|
||||
"wireplumber"
|
||||
"bluetooth"
|
||||
"backlight"
|
||||
"network"
|
||||
"power-profiles-daemon"
|
||||
"idle_inhibitor"
|
||||
"group/system-tray"
|
||||
#"image"
|
||||
"custom/weather"
|
||||
"temperature"
|
||||
"cpu"
|
||||
"memory"
|
||||
"disk"
|
||||
# "battery"
|
||||
"upower"
|
||||
"group/status-infos"
|
||||
"custom/wlogout"
|
||||
];
|
||||
|
||||
"group/system-tray" = {
|
||||
orientation = "inherit";
|
||||
modules = [
|
||||
"mpris"
|
||||
"wireplumber"
|
||||
"bluetooth"
|
||||
"backlight"
|
||||
"network"
|
||||
"power-profiles-daemon"
|
||||
"idle_inhibitor"
|
||||
];
|
||||
};
|
||||
"group/status-infos" = {
|
||||
orientation = "inherit";
|
||||
modules = [
|
||||
"custom/weather"
|
||||
"temperature"
|
||||
"cpu"
|
||||
"memory"
|
||||
"disk"
|
||||
# "battery"
|
||||
"upower"
|
||||
];
|
||||
};
|
||||
|
||||
"niri/workspaces" = {
|
||||
format = "{icon}";
|
||||
};
|
||||
|
|
@ -63,17 +76,17 @@
|
|||
icon = true;
|
||||
};
|
||||
network = {
|
||||
#interface = "wlo1";
|
||||
interface = "wlo1";
|
||||
format = "{ifname}";
|
||||
format-wifi = " {essid}";
|
||||
format-ethernet = "";
|
||||
format-linked = "";
|
||||
format-disconnected = "";
|
||||
format-wifi = " ";
|
||||
format-ethernet = " ";
|
||||
format-linked = " ";
|
||||
format-disconnected = " ";
|
||||
tooltip-format = "{ifname} via {gwaddr}";
|
||||
tooltip-format-wifi = "{essid} ({signalStrength}%)";
|
||||
tooltip-format-ethernet = "{ifname} {ipaddr}/{cidr}";
|
||||
tooltip-format-disconnected = "Disconnected";
|
||||
max-length = 20;
|
||||
max-length = 50;
|
||||
};
|
||||
clock = {
|
||||
format = "{:%a, %d. %b %H:%M}";
|
||||
|
|
@ -104,7 +117,7 @@
|
|||
icon-size = 14;
|
||||
};
|
||||
battery = {
|
||||
format = "{icon} {capacity}%";
|
||||
format = "{capacity}% {icon}";
|
||||
format-icons = [
|
||||
"" # 0%
|
||||
"" # 10%
|
||||
|
|
@ -163,20 +176,19 @@
|
|||
};
|
||||
cpu = {
|
||||
interval = 1;
|
||||
format = " {usage:>2}%@{avg_frequency:>3.2f}";
|
||||
format = "{usage:3}%@{avg_frequency:4}";
|
||||
};
|
||||
disk = {
|
||||
format = " {percentage_free}% {specific_total:>2.1f}";
|
||||
unit = "TB";
|
||||
format = "{free}/{total}";
|
||||
};
|
||||
"custom/wlogout" = {
|
||||
format = "";
|
||||
format = " ";
|
||||
tooltip = false;
|
||||
on-click = "wlogout";
|
||||
min-width = 20;
|
||||
};
|
||||
idle_inhibitor = {
|
||||
format = "{icon}";
|
||||
format = "{icon} ";
|
||||
format-icons = {
|
||||
activated = "";
|
||||
deactivated = "";
|
||||
|
|
@ -201,7 +213,7 @@
|
|||
# on-click = "playerctl play-pause";
|
||||
# };
|
||||
mpris = {
|
||||
format = "{status_icon} {player}";
|
||||
format = "{status_icon} {player} ";
|
||||
tooltip-format = "{player} ({status_icon} {status}) {dynamic}";
|
||||
status-icons = {
|
||||
playing = "";
|
||||
|
|
@ -210,7 +222,7 @@
|
|||
};
|
||||
};
|
||||
memory = {
|
||||
format = " {}%";
|
||||
format = "{}% ";
|
||||
};
|
||||
power-profiles-daemon = {
|
||||
format = "{icon}";
|
||||
|
|
@ -224,7 +236,7 @@
|
|||
};
|
||||
};
|
||||
wireplumber = {
|
||||
format = "{icon} {volume}%";
|
||||
format = "{volume}% {icon}";
|
||||
format-muted = "";
|
||||
format-icons = [
|
||||
""
|
||||
|
|
@ -233,16 +245,16 @@
|
|||
];
|
||||
};
|
||||
temperature = {
|
||||
format = " {temperatureC}°C";
|
||||
format = "{temperatureC}°C ";
|
||||
};
|
||||
tray = {
|
||||
spacing = 4;
|
||||
show-passive-items = true;
|
||||
};
|
||||
bluetooth = {
|
||||
format = " {status}";
|
||||
format-connected = " {device_alias}";
|
||||
format-connected-battery = " {device_alias} {device_battery_percentage}%";
|
||||
format = " {status} ";
|
||||
format-connected = " {device_alias} ";
|
||||
format-connected-battery = " {device_alias} {device_battery_percentage}% ";
|
||||
tooltip-format = "{controller_alias}\t{controller_address}\n\n{num_connections} connected";
|
||||
tooltip-format-connected = "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}";
|
||||
tooltip-format-enumerate-connected = "{device_alias}\t{device_address}";
|
||||
|
|
@ -254,7 +266,7 @@
|
|||
in
|
||||
{
|
||||
tooltip = true;
|
||||
format = "{icon} {0}";
|
||||
format = "{icon} {0} ";
|
||||
format-icons = {
|
||||
notification = "";
|
||||
none = "";
|
||||
|
|
@ -272,7 +284,7 @@
|
|||
escape = true;
|
||||
};
|
||||
"custom/weather" = {
|
||||
format = "{}";
|
||||
format = "{}°";
|
||||
tooltip = true;
|
||||
interval = 3600;
|
||||
exec = "${lib.getBin pkgs.wttrbar}/bin/wttrbar --nerd";
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
config.programs.zsh = {
|
||||
initContent = ''
|
||||
export PATH=$PATH:$HOME/.cargo/bin
|
||||
export PATH=$PATH:/home/vinzenz/.cargo/bin
|
||||
|
||||
bindkey "^[[1;5C" forward-word
|
||||
bindkey "^[[1;5D" backward-word
|
||||
|
|
@ -1,6 +1,13 @@
|
|||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
settings.init.defaultBranch = "main";
|
||||
programs = {
|
||||
git = {
|
||||
enable = true;
|
||||
settings.init.defaultBranch = "main";
|
||||
};
|
||||
|
||||
gh = {
|
||||
enable = true;
|
||||
gitCredentialHelper.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
options.muede.gnome-extensions =
|
||||
options.vinzenz.gnome-extensions =
|
||||
let
|
||||
mkDefaultEnabledOption =
|
||||
name:
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
config =
|
||||
let
|
||||
cfg = config.muede.gnome-extensions;
|
||||
cfg = config.vinzenz.gnome-extensions;
|
||||
in
|
||||
lib.mkIf cfg.enable (
|
||||
lib.mkMerge [
|
||||
|
|
|
|||
|
|
@ -1,21 +0,0 @@
|
|||
{ pkgs, self, ... }:
|
||||
{
|
||||
nixpkgs.overlays = [ self.overlays.unstable-packages ];
|
||||
|
||||
boot.isContainer = true;
|
||||
|
||||
allowedUnfreePackages = [ "claude-code" ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
unstable.claude-code
|
||||
git
|
||||
python3
|
||||
];
|
||||
|
||||
users.users.muede = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ];
|
||||
};
|
||||
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
}
|
||||
|
|
@ -14,9 +14,9 @@
|
|||
|
||||
users.users = {
|
||||
root.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCJUpbpB3KEKVoKWsKoar9J4RNah8gmQoSH6jQEw5dY pixel-JuiceSSH"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO1CRn4yYTL4XUdCebE8Z4ZeuMujBjorTdWifg911EOv pc2 home roaming"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDNpLDmctyqGpow/ElQvdhY4BLBPS/sigDJ1QEcC7wC lpt2-roaming"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCJUpbpB3KEKVoKWsKoar9J4RNah8gmQoSH6jQEw5dY vinzenz-pixel-JuiceSSH"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO1CRn4yYTL4XUdCebE8Z4ZeuMujBjorTdWifg911EOv vinzenz-pc2 home roaming"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDNpLDmctyqGpow/ElQvdhY4BLBPS/sigDJ1QEcC7wC vinzenz-lpt2-roaming"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
43
nixosConfigurations/hetzner-vpn2/blog.nix
Normal file
43
nixosConfigurations/hetzner-vpn2/blog.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
blog-domain-socket = "/run/nginx/blog.sock";
|
||||
anubis-domain-socket = "/run/anubis/anubis-main/anubis.sock";
|
||||
anubis-metrics-socket = "/run/anubis/anubis-main/anubis-metrics.sock";
|
||||
in
|
||||
{
|
||||
systemd.services = {
|
||||
nginx.serviceConfig.SupplementaryGroups = [ "anubis" ];
|
||||
anubis-main.serviceConfig.SupplementaryGroups = [ "nginx" ];
|
||||
};
|
||||
|
||||
services = {
|
||||
nginx.virtualHosts = {
|
||||
"zerforschen.plus" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations = {
|
||||
"/_metrics".proxyPass = "http://unix:" + anubis-metrics-socket + ":/metrics";
|
||||
"/".proxyPass = "http://unix:" + anubis-domain-socket;
|
||||
};
|
||||
};
|
||||
|
||||
"blog-in-anubis" = {
|
||||
root = pkgs.zerforschen-plus-content;
|
||||
listen = [
|
||||
{
|
||||
addr = "unix:" + blog-domain-socket;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
anubis.instances.main = {
|
||||
enable = true;
|
||||
settings = {
|
||||
BIND = anubis-domain-socket;
|
||||
TARGET = "unix://" + blog-domain-socket;
|
||||
METRICS_BIND = anubis-metrics-socket;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -2,6 +2,8 @@
|
|||
imports = [
|
||||
./hardware.nix
|
||||
./nginx.nix
|
||||
./headscale.nix
|
||||
./blog.nix
|
||||
];
|
||||
|
||||
config = {
|
||||
|
|
@ -12,9 +14,9 @@
|
|||
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICdYqY3Y1/f1bsAi5Qfyr/UWuX9ixu96IeAlhoQaJkbf"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCJUpbpB3KEKVoKWsKoar9J4RNah8gmQoSH6jQEw5dY pixel-JuiceSSH"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO1CRn4yYTL4XUdCebE8Z4ZeuMujBjorTdWifg911EOv pc2 home roaming"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDNpLDmctyqGpow/ElQvdhY4BLBPS/sigDJ1QEcC7wC lpt2-roaming"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCJUpbpB3KEKVoKWsKoar9J4RNah8gmQoSH6jQEw5dY vinzenz-pixel-JuiceSSH"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO1CRn4yYTL4XUdCebE8Z4ZeuMujBjorTdWifg911EOv vinzenz-pc2 home roaming"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDNpLDmctyqGpow/ElQvdhY4BLBPS/sigDJ1QEcC7wC vinzenz-lpt2-roaming"
|
||||
];
|
||||
|
||||
system.autoUpgrade.allowReboot = true;
|
||||
|
|
|
|||
43
nixosConfigurations/hetzner-vpn2/headscale.nix
Normal file
43
nixosConfigurations/hetzner-vpn2/headscale.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
let
|
||||
headscale-port = 8668;
|
||||
in
|
||||
{
|
||||
# sudo tailscale up --reset --force-reauth --login-server https://uplink.darkest.space --operator=$USER
|
||||
|
||||
services = {
|
||||
headscale = {
|
||||
enable = true;
|
||||
address = "localhost";
|
||||
port = headscale-port;
|
||||
settings = {
|
||||
server_url = "https://uplink.darkest.space/";
|
||||
dns = {
|
||||
override_local_dns = false;
|
||||
base_domain = "high-gravity.space";
|
||||
};
|
||||
derp = {
|
||||
server = {
|
||||
enabled = true;
|
||||
verify_clients = true;
|
||||
stun_listen_addr = "0.0.0.0:3478";
|
||||
ipv4 = "78.46.242.90";
|
||||
ipv6 = "2a01:4f8:c013:65dd::1";
|
||||
};
|
||||
urls = [ ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nginx.virtualHosts."uplink.darkest.space" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:${builtins.toString headscale-port}";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# for DERP
|
||||
networking.firewall.allowedUDPPorts = [ 3478 ];
|
||||
}
|
||||
|
|
@ -1,62 +1,19 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
blog-domain-socket = "/run/nginx/blog.sock";
|
||||
anubis-domain-socket = "/run/anubis/anubis-main/anubis.sock";
|
||||
anubis-metrics-socket = "/run/anubis/anubis-main/anubis-metrics.sock";
|
||||
in
|
||||
{
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "acme@zerforschen.plus";
|
||||
};
|
||||
|
||||
systemd.services = {
|
||||
nginx.serviceConfig.SupplementaryGroups = [ "anubis" ];
|
||||
anubis-main.serviceConfig.SupplementaryGroups = [ "nginx" ];
|
||||
};
|
||||
|
||||
services = {
|
||||
nginx = {
|
||||
enable = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
|
||||
virtualHosts = {
|
||||
"zerforschen.plus" = {
|
||||
addSSL = true;
|
||||
enableACME = true;
|
||||
locations = {
|
||||
"/_metrics".proxyPass = "http://unix:" + anubis-metrics-socket + ":/metrics";
|
||||
"/".proxyPass = "http://unix:" + anubis-domain-socket;
|
||||
};
|
||||
};
|
||||
|
||||
"blog-in-anubis" = {
|
||||
root = pkgs.zerforschen-plus-content;
|
||||
listen = [
|
||||
{
|
||||
addr = "unix:" + blog-domain-socket;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
anubis.instances.main = {
|
||||
enable = true;
|
||||
settings = {
|
||||
BIND = anubis-domain-socket;
|
||||
TARGET = "unix://" + blog-domain-socket;
|
||||
METRICS_BIND = anubis-metrics-socket;
|
||||
};
|
||||
};
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
5201
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
self.nixosModules.gnome
|
||||
self.nixosModules.steam
|
||||
self.nixosModules.wine-gaming
|
||||
self.nixosModules.muede-desktop-settings
|
||||
self.nixosModules.vinzenz-desktop-settings
|
||||
];
|
||||
|
||||
config = {
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@
|
|||
{
|
||||
imports = [
|
||||
./hardware.nix
|
||||
self.nixosModules.user-muede
|
||||
self.nixosModules.user-vinzenz
|
||||
self.nixosModules.gnome
|
||||
self.nixosModules.wine-gaming
|
||||
self.nixosModules.steam
|
||||
self.nixosModules.podman
|
||||
self.nixosModules.muede-desktop-settings
|
||||
self.nixosModules.vinzenz-desktop-settings
|
||||
self.nixosModules.intel-graphics
|
||||
self.nixosModules.secure-boot
|
||||
];
|
||||
|
|
@ -27,9 +27,9 @@
|
|||
# Configure console keymap
|
||||
console.keyMap = "de";
|
||||
|
||||
users.users.muede.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCJUpbpB3KEKVoKWsKoar9J4RNah8gmQoSH6jQEw5dY pixel-JuiceSSH"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO1CRn4yYTL4XUdCebE8Z4ZeuMujBjorTdWifg911EOv pc2 home roaming"
|
||||
users.users.vinzenz.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCJUpbpB3KEKVoKWsKoar9J4RNah8gmQoSH6jQEw5dY vinzenz-pixel-JuiceSSH"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO1CRn4yYTL4XUdCebE8Z4ZeuMujBjorTdWifg911EOv vinzenz-pc2 home roaming"
|
||||
];
|
||||
|
||||
programs = {
|
||||
|
|
@ -60,14 +60,5 @@
|
|||
];
|
||||
|
||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||
|
||||
containers.damocles = {
|
||||
autoStart = false;
|
||||
privateNetwork = false;
|
||||
path = self.nixosConfigurations.damocles.config.system.build.toplevel;
|
||||
};
|
||||
|
||||
boot.enableContainers = true;
|
||||
virtualisation.containers.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -2,15 +2,15 @@
|
|||
{
|
||||
imports = [
|
||||
./hardware.nix
|
||||
# ./vscode-server.nix
|
||||
# ./hass.nix
|
||||
./vscode-server.nix
|
||||
./hass.nix
|
||||
|
||||
self.nixosModules.user-muede
|
||||
self.nixosModules.user-vinzenz
|
||||
self.nixosModules.gnome
|
||||
self.nixosModules.wine-gaming
|
||||
self.nixosModules.steam
|
||||
self.nixosModules.podman
|
||||
self.nixosModules.muede-desktop-settings
|
||||
self.nixosModules.vinzenz-desktop-settings
|
||||
self.nixosModules.amd-graphics
|
||||
self.nixosModules.secure-boot
|
||||
];
|
||||
|
|
@ -30,10 +30,10 @@
|
|||
# Configure console keymap
|
||||
console.keyMap = "de";
|
||||
|
||||
users.users.muede.openssh.authorizedKeys.keys = [
|
||||
users.users.vinzenz.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINrY6tcgnoC/xbgL7vxSjddEY9MBxRXe9n2cAHt88/TT home roaming"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCJUpbpB3KEKVoKWsKoar9J4RNah8gmQoSH6jQEw5dY pixel-JuiceSSH"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDNpLDmctyqGpow/ElQvdhY4BLBPS/sigDJ1QEcC7wC lpt2-roaming"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCJUpbpB3KEKVoKWsKoar9J4RNah8gmQoSH6jQEw5dY vinzenz-pixel-JuiceSSH"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDNpLDmctyqGpow/ElQvdhY4BLBPS/sigDJ1QEcC7wC vinzenz-lpt2-roaming"
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [ lact ];
|
||||
|
|
@ -20,6 +20,7 @@
|
|||
self.nixosModules.modern-desktop
|
||||
self.nixosModules.niri
|
||||
self.nixosModules.nix-ld
|
||||
self.nixosModules.pkgs-unstable
|
||||
self.nixosModules.pkgs-vscode-extensions
|
||||
self.nixosModules.quiet-boot
|
||||
self.nixosModules.stylix
|
||||
|
|
|
|||
|
|
@ -30,6 +30,10 @@
|
|||
autoUpgrade.flake = "git+https://git.berlin.ccc.de/vinzenz/nixos-configuration.git";
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [
|
||||
self.overlays.unstable-packages
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
screen
|
||||
tldr
|
||||
nix-output-monitor
|
||||
git-credential-oauth
|
||||
];
|
||||
|
||||
programs = {
|
||||
|
|
@ -21,10 +20,4 @@
|
|||
syntaxHighlight = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.etc."gitconfig".text = ''
|
||||
[credential]
|
||||
helper = oauth
|
||||
credentialStore = cache
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
options.muede = {
|
||||
options.vinzenz = {
|
||||
keep-gnome-default-apps = lib.mkEnableOption "keep gnome default apps";
|
||||
};
|
||||
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
gpaste.enable = true;
|
||||
};
|
||||
}
|
||||
(lib.mkIf (!config.muede.keep-gnome-default-apps) {
|
||||
(lib.mkIf (!config.vinzenz.keep-gnome-default-apps) {
|
||||
environment.gnome.excludePackages = with pkgs; [
|
||||
cheese # photo booth
|
||||
epiphany # web browser
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
users.users.muede = {
|
||||
users.users.vinzenz = {
|
||||
isNormalUser = true;
|
||||
uid = 1000;
|
||||
name = "muede";
|
||||
name = "vinzenz";
|
||||
description = "müde";
|
||||
home = "/home/vinzenz";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
autoSubUidGidRange = true;
|
||||
};
|
||||
|
||||
nix.settings.trusted-users = [ "muede" ];
|
||||
nix.settings.trusted-users = [ "vinzenz" ];
|
||||
|
||||
allowedUnfreePackages = [
|
||||
"rider"
|
||||
|
|
@ -31,7 +31,5 @@
|
|||
"anydesk"
|
||||
|
||||
"vscode-extension-ms-dotnettools-csharp"
|
||||
|
||||
"claude-code"
|
||||
];
|
||||
}
|
||||
|
|
@ -5,7 +5,6 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
lm_sensors
|
||||
libreoffice-qt6
|
||||
usbutils
|
||||
];
|
||||
|
||||
fonts.enableDefaultPackages = true;
|
||||
Loading…
Add table
Add a link
Reference in a new issue