Compare commits

..

No commits in common. "f01482a7da3bc000b6b8b80ef466cb4a2a71c20a" and "93cdfb5be5655fd772b304ea7445fe089cb9fa05" have entirely different histories.

7 changed files with 5 additions and 65 deletions

38
flake.lock generated
View File

@ -1,24 +1,5 @@
{ {
"nodes": { "nodes": {
"home-manager": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1732466619,
"narHash": "sha256-T1e5oceypZu3Q8vzICjv1X/sGs9XfJRMW5OuXHgpB3c=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "f3111f62a23451114433888902a55cf0692b408d",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-24.11",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1731755305, "lastModified": 1731755305,
@ -35,26 +16,9 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": {
"locked": {
"lastModified": 1732350895,
"narHash": "sha256-GcOQbOgmwlsRhpLGSwZJwLbo3pu9ochMETuRSS1xpz4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0c582677378f2d9ffcb01490af2f2c678dcb29d3",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs_2"
} }
} }
}, },

View File

@ -1,10 +1,9 @@
{ {
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
home-manager.url = "github:nix-community/home-manager/release-24.11";
}; };
outputs = inputs @ { self, nixpkgs, ... }: { outputs = inputs @ { self, nixpkgs }: {
nixosConfigurations.affogato = nixpkgs.lib.nixosSystem { nixosConfigurations.affogato = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [

View File

@ -5,7 +5,6 @@
../../profiles/base ../../profiles/base
../../profiles/graphical ../../profiles/graphical
../../profiles/kde ../../profiles/kde
../../profiles/home-manager
../../users/transcaffeine ../../users/transcaffeine
../../users/leona ../../users/leona
]; ];
@ -19,7 +18,7 @@
boot.kernelParams = [ boot.kernelParams = [
"fbcon=rotate:1" "fbcon=rotate:1"
# disable panel self refresh for i915 # disable panel self refresh for i915
"i915.enable_psr=0" # "i915.enable_psr=0"
# set max cstate to 2 (suspend?) # set max cstate to 2 (suspend?)
# "intel_idle.max_cstate=2" # "intel_idle.max_cstate=2"
"nvme.noacpi=1" "nvme.noacpi=1"
@ -31,7 +30,6 @@
"78.94.116.221" = [ "78.94.116.221" = [
"git.finally.coffee" "git.finally.coffee"
"chat.finallycoffee.eu" "chat.finallycoffee.eu"
"matrix.finallycoffee.eu"
"cloud.finallycoffee.eu" "cloud.finallycoffee.eu"
]; ];
}; };

View File

@ -20,13 +20,10 @@
}; };
}; };
environment.shellAliases = { environment.shellAliases = {
"nixos-switch" = "sudo nixos-rebuild switch --flake .#"; "nixos-switch" = "nixos-rebuild switch --flake .#";
"nom-affogato" = "nom build .#nixosConfigurations.affogato.config.system.build.toplevel"; "nom-affogato" = "nom build .#nixosConfigurations.affogato.config.system.build.toplevel";
}; };
environment.variables = {
EDITOR = "vim";
VISUAL = "vim";
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
python3 python3
vim vim

View File

@ -1,5 +0,0 @@
{ inputs, config, pkgs, ... }: {
imports = [ inputs.home-manager.nixosModules.home-manager ];
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
}

View File

@ -22,5 +22,4 @@
nix-diff nix-diff
]; ];
}; };
home-manager.users.transcaffeine = import ./home-manager.nix;
} }

View File

@ -1,12 +0,0 @@
{ lib, pkgs, ... }: {
home.stateVersion = "24.11";
services.darkman = {
enable = true;
settings = {
lat = 49.0800;
lng = 8.23300;
portal = true;
dbusserver = true;
};
};
}