Compare commits
7 Commits
6726127aed
...
main
Author | SHA1 | Date | |
---|---|---|---|
53768f944e
|
|||
463ae390de
|
|||
bbb1edf8c3
|
|||
6bd40ea2f8
|
|||
002a3da231
|
|||
fc25c630dd
|
|||
62b5c50bfb
|
60
flake.lock
generated
60
flake.lock
generated
@@ -3,11 +3,11 @@
|
||||
"dotfiles": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1743949278,
|
||||
"narHash": "sha256-ntNJXtq3Gw+7ssEgLzoKAiuSS6QXaCwK6k/KSLlqBwo=",
|
||||
"lastModified": 1757262504,
|
||||
"narHash": "sha256-8Hxs9m+vu/DwZtorQOFCGTld0Wlz+QKLFPjLX7J/JDU=",
|
||||
"ref": "main",
|
||||
"rev": "6e1d7df5b569f2eb98759e1ca77a06556c5bd1dd",
|
||||
"revCount": 10,
|
||||
"rev": "7c9567c880f414054fc427d8a2bb0c3a048104ee",
|
||||
"revCount": 14,
|
||||
"type": "git",
|
||||
"url": "https://git.finally.coffee/transcaffeine/dotfiles.git"
|
||||
},
|
||||
@@ -17,23 +17,6 @@
|
||||
"url": "https://git.finally.coffee/transcaffeine/dotfiles.git"
|
||||
}
|
||||
},
|
||||
"dotfiles-local": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1743949278,
|
||||
"narHash": "sha256-ntNJXtq3Gw+7ssEgLzoKAiuSS6QXaCwK6k/KSLlqBwo=",
|
||||
"ref": "main",
|
||||
"rev": "6e1d7df5b569f2eb98759e1ca77a06556c5bd1dd",
|
||||
"revCount": 10,
|
||||
"type": "git",
|
||||
"url": "https://git.finally.coffee/transcaffeine/dotfiles"
|
||||
},
|
||||
"original": {
|
||||
"ref": "main",
|
||||
"type": "git",
|
||||
"url": "https://git.finally.coffee/transcaffeine/dotfiles"
|
||||
}
|
||||
},
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
@@ -72,18 +55,15 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1757020766,
|
||||
"narHash": "sha256-PLoSjHRa2bUbi1x9HoXgTx2AiuzNXs54c8omhadyvp0=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "fe83bbdde2ccdc2cb9573aa846abe8363f79a97a",
|
||||
"type": "github"
|
||||
"lastModified": 1760105160,
|
||||
"narHash": "sha256-oYYalpFIVeDolg/zpkPkKk8mBuvnj/lUE3/K7OuTOwk=",
|
||||
"rev": "5da4a26309e796daa7ffca72df93dbe53b8164c7",
|
||||
"type": "tarball",
|
||||
"url": "https://releases.nixos.org/nixos/25.05/nixos-25.05.810995.5da4a26309e7/nixexprs.tar.xz"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-25.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
"type": "tarball",
|
||||
"url": "https://channels.nixos.org/nixos-25.05/nixexprs.tar.xz"
|
||||
}
|
||||
},
|
||||
"nixpkgs-forked": {
|
||||
@@ -119,24 +99,20 @@
|
||||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1757236331,
|
||||
"narHash": "sha256-zf1HPzatARa8PFLS7ypOxx2IVpbAWotKYl8Kgu4DYyw=",
|
||||
"owner": "nixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "1f46efd9d12bc85e195f4d17aacc372a88a277a5",
|
||||
"type": "github"
|
||||
"lastModified": 1760252326,
|
||||
"narHash": "sha256-5v32B25kSE++E+KtP4DO687r/AlWL9qOlOjtYyfcDSw=",
|
||||
"rev": "66e5020bfe0af40ffa127426f8405edbdadbb40b",
|
||||
"type": "tarball",
|
||||
"url": "https://releases.nixos.org/nixos/unstable-small/nixos-25.11pre876242.66e5020bfe0a/nixexprs.tar.xz"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixOS",
|
||||
"ref": "master",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
"type": "tarball",
|
||||
"url": "https://channels.nixos.org/nixos-unstable-small/nixexprs.tar.xz"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"dotfiles": "dotfiles",
|
||||
"dotfiles-local": "dotfiles-local",
|
||||
"home-manager": "home-manager",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs",
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
|
||||
nixpkgs-unstable.url = "github:nixOS/nixpkgs/master";
|
||||
nixpkgs.url = "https://channels.nixos.org/nixos-25.05/nixexprs.tar.xz";
|
||||
nixpkgs-unstable.url = "https://channels.nixos.org/nixos-unstable-small/nixexprs.tar.xz";
|
||||
nixpkgs-forked.url = "github:transcaffeine/nixpkgs/nexus/3.81.1";
|
||||
nixpkgs-local = {
|
||||
url = "git+file:/home/transcaffeine/git/transcaffeine/nixpkgs";
|
||||
@@ -15,10 +15,6 @@
|
||||
url = "git+https://git.finally.coffee/transcaffeine/dotfiles.git?ref=main";
|
||||
flake = false;
|
||||
};
|
||||
dotfiles-local = {
|
||||
url = "git+file:/home/transcaffeine/git/transcaffeine/dotfiles";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, ... }: {
|
||||
|
@@ -13,19 +13,30 @@
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/34d0b26e-8d69-4388-bf94-67e44669cdd8";
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/disk/by-uuid/34d0b26e-8d69-4388-bf94-67e44669cdd8";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/3B4B-0489";
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/3B4B-0489";
|
||||
fsType = "vfat";
|
||||
};
|
||||
"/home" = {
|
||||
device = "/dev/disk/by-uuid/a836d70d-ee4d-4973-b3c0-2888d0a60095";
|
||||
fsType = "btrfs";
|
||||
};
|
||||
"/nix/store" = {
|
||||
device = "/dev/disk/by-uuid/720dd78e-7070-4d5f-a550-cd03bdde93bd";
|
||||
fsType = "xfs";
|
||||
};
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/22e2d822-7f26-4246-a28e-b10a116f2818"; }
|
||||
];
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/dev/disk/by-uuid/22e2d822-7f26-4246-a28e-b10a116f2818";
|
||||
}
|
||||
];
|
||||
|
||||
boot.initrd.luks.devices."coffee".device = "/dev/disk/by-uuid/e24d653d-df2d-472b-97c3-653ee3169b1c";
|
||||
|
||||
|
26
users/transcaffeine/home-manager/darkman.nix
Normal file
26
users/transcaffeine/home-manager/darkman.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
genAttrs' = xs: f: lib.listToAttrs(lib.map f xs);
|
||||
in {
|
||||
services.darkman = {
|
||||
enable = true;
|
||||
settings = {
|
||||
lat = 49.0800;
|
||||
lng = 8.23300;
|
||||
portal = true;
|
||||
dbusserver = true;
|
||||
};
|
||||
};
|
||||
|
||||
home.file = genAttrs' [ "local/share/light-mode.d" "local/share/dark-mode.d" ] (
|
||||
path:
|
||||
lib.nameValuePair (".${path}") {
|
||||
source = lib.concatStringsSep "/" [ inputs.dotfiles path ];
|
||||
target = ".${path}";
|
||||
}
|
||||
);
|
||||
}
|
@@ -1,19 +1,12 @@
|
||||
{ lib, pkgs, ... }: {
|
||||
imports = [
|
||||
./darkman.nix
|
||||
./git.nix
|
||||
./gnupg.nix
|
||||
];
|
||||
home.stateVersion = "24.11";
|
||||
services.darkman = {
|
||||
enable = true;
|
||||
settings = {
|
||||
lat = 49.0800;
|
||||
lng = 8.23300;
|
||||
portal = true;
|
||||
dbusserver = true;
|
||||
};
|
||||
};
|
||||
|
||||
xdg.enable = true;
|
||||
home.preferXdgDirectories = true;
|
||||
programs.firefox = import ./firefox.nix { inherit lib; };
|
||||
}
|
||||
|
Reference in New Issue
Block a user