diff --git a/content/Fall-2024/as-am-5/week-1.md b/content/Fall-2024/as-am-5/week-1.md deleted file mode 100644 index c13c60b..0000000 --- a/content/Fall-2024/as-am-5/week-1.md +++ /dev/null @@ -1,68 +0,0 @@ -# Week 1 - -## Lecture 1 (9/30) - -- Ralph Ellison: novel bound up with nationhood - - What/who are we? - - What has been the experience of this particular group? - - How did it become this way? - - What stops us from attaining the ideal? -- American writers + artists always return to question of our national - collectivity -> successes / failures -- American flag is abstraction + symbol -- Same painting, over and over again, different meaning/symbol -- w/ rise of democracy in US, slavery happened in parallel -> cannot talk about - one without the other -- Use example of Asian American literature as entryway toward understanding - larger American / minority literature -- _Otherness_: radical difference -> Asian is always "foreigner", "strange", - "grotesque" - - Asians come to US for labor shortage (railroads, etc) - - Perceived through 19th century and further as radically different -- Assimilation: American promise of leaving behind "tradition" -> "modern life" - - Theoretical concept -> trickle into daily lives -- W.E.B. DuBois -> "the problem of the color life" + "double consciousness" - - Most useful metaphor: double consciousness -- Double consciousness -> hybridity: rethinking from two different distinct - selves -> combination / overlapping "hybrid consciousness" -- Does the arc of history bend toward progress? -- On style: how do stylistic decisions (by writers) shape their thematic - arguments? - - Leave things out, emphasize, etc -- On realism, modernism, postmodernism -- Next: read Erika Lee - -## Section (10/04) - -### Logistics - -- 2 excused absences -> no questions asked - -### Notes - -- Minority-ness in 5 categories - - Assimilation - - Hybridity - - Double consciousness - - Invisibility - - Otherness - -#### Otherness - -- What is us? -> group an individual identifies w/ and sense of belonging -- Other -> (perceived) different / "out group" -- Distinguishing "us" / "other" -> culture, language, behaviors, religious - traits, citizenship, race, etc -- Social constructs -> (may) change over time -- Stereotypes, power, political policies, hegemony, etc... -- Anti-Asian laws and policies - - 1875 Page Act - - 1882 **Chinese Exclusion Act** - - 1907 Expatriation Act - - 1913 First Alien Land Law - - 1922 Cable Act (reverses Expatriation Act except for women who marry "aliens ineligible for citizenship") - - 1924 Immigration Act -- Keep in mind while reading Bulosan (191X, 1930-1956) - - Attain citizenship for rights, representation, and influence - - Accumulate wealth through real estate - - Form _families_ and establish a lasting presence diff --git a/content/Fall-2024/as-am-5/week-2.md b/content/Fall-2024/as-am-5/week-2.md deleted file mode 100644 index 879bc4d..0000000 --- a/content/Fall-2024/as-am-5/week-2.md +++ /dev/null @@ -1,83 +0,0 @@ -# Week 2 - -## Lecture 1 (10/07) - -- America is in the Heart -> What is the life that Bulosan is living as he's - producing the book? -- 1950s/1960s -> series of radical changes (CRM, Brown v. Board, CRA, Voting - Rights Act, Immigration and Nationality Act) -- Asians from Assimilation -> Model Minority - - Compliance, emasculated -> in contrast to "loudness" of African Americans / - Latinos (in fighting for civil rights) -> Model way to be minority is to be - silent - - Supposed _cultural_ traits -> better at math, stronger family structures -- Asian American literary response -> "claiming America for Asian Americas" -- Community -> desire to remain "others" but by defining our own "otherness" -> - resistance to domination -- History of Asian America is also a history of how race works in United States - -> there is a particular history of race in America which is understood by - looking at the Asian American history, cannot be understood solely by looking - at history of other groups -- Liminal Asian America -> simultaneously included and excluded -- AA living between America and "origins" -> transnational to achieve something - that is quintessentially American -- How are our writers expressing the notion of being included and excluded -- Bulosan is telling his own story from the POV of an older, wiser person -- Using Spanish words -> showing people that they have a whole separate POV, - distinct group of people -- Bulosan's aesthetic eyes fall on the natural land -> repeatedly talks about - how beautiful his home was -> his way of explaining ("translating") life in - Phillipines -> a certain "transcendence to nature" -> same in one place to - another -- Once Bulosan leaves America, never comes back -> act of writing is nostalgic -- 1899-1902: American-Phillipine War -> 1907-1924 approx. 52,000 Filipinos - immigrate to US -> 1946 Phillipines gains independences -> Bulosan arrives in - between -- Context between Bulosan's arrival in 1930 and publication of book in 1946: - The Great Gatsby -> Emblematic of Roaring Twenties; not a huge hit - immediately -> Fitzgerald explores the life of striving outsider -> critique - of American promise (upwards mobility, second chances) -- Context 2: The Good Earth -> American born Pearl S. Buck, daughter of - Chinese, grew up in China, Wrote her most famous novel about inhabitants of a - Chinese village. Shaped ways in which Americans viewed Chinese in America -- Greatest connection: Grapes of Wrath -- First few pages of Bulosan -> Nature, Bulosan's location, translating - Filipino reality for Western audience, split between young and older/wiser - Bulosan -- What is Bulosan doing besides just talking about nature? Why is he - concentrating on it? -> in conversation with specific type of literary style - -> the "pastoral" -- The pastoral is a literary tradition -> traditionally, poems about shepherds - -> beauty of life, waking up early, farming, etc -> idealized lives of the - poor -> tension between cultivated author and low born subjects -> Bulosan - deconstructs pastoral through realism -- Social Realism -> unvarnished and unfiltered economic racial injustice -> - working class figure as hero -> scrutinizing ills of society -> reality - without illusion -> one problem: emphasis on collective vs. individual -- Do for Filipinos in America what Lange tried to do for working class -> book - as work of pastoral social realism - -## Lecture 2 (10/10) - -- AH is a biography in the "social realist" mode -> leaves home in the - Phillipines after beaten down by harsh realities of life -> tries to maintain - optimism about American Dream as he continues through his journey - -## Section - -- Pastoral -- Realism -> depict life as it truly is, complexities, imperfections, etc, - verisimilitude - - Social realism -> see peoples' struggles, critiques about causes/reasons, - -### Writing assignment - -Then, please write up why Carlos portrayed them in this particular manner. - -Each individual should write your own answer. Please write the name of the woman you are analyzing. - -1. Mary Strandon -2. Marian -3. Judith - -Mary Strandon was portrayed as a kindly woman who gave Bulosan work and allowed him to read diff --git a/content/Fall-2024/math-4a/week-1/main.typ b/content/Fall-2024/math-4a/week-1/main.typ deleted file mode 100644 index aa0d89e..0000000 --- a/content/Fall-2024/math-4a/week-1/main.typ +++ /dev/null @@ -1,25 +0,0 @@ -#import "@preview/unequivocal-ams:0.1.1": ams-article, theorem, proof - -#show: ams-article.with( - title: [Week 2], - authors: ( - ( - name: "Youwen Wu", - organization: [University of California, Santa Barbara], - email: "youwen@ucsb.edu", - url: "https://youwen.dev", - ), - ), - bibliography: bibliography("refs.bib"), -) - -= Vectors, linear combinations, spans, matrix-vector product. - -- Consider a whole new way of looking at linear systems -- Add vectors entrywise, head to tail -- Multiply vectors via scaling -- A more flexible way to draw a line. For a line through point $p$, in direction $arrow(d)$, use $arrow(p) + t arrow(d), t in RR$. Intuition: Add a vector $arrow(p)$ pointing to point $p$ and compose a vector pointing in the intended direction $arrow(d)$ head to tail. - -A linear combination is - -$ arrow(y) = sum_(k=1)^n alpha_n arrow(v)_n $ diff --git a/content/Fall-2024/math-4a/week-1/refs.bib b/content/Fall-2024/math-4a/week-1/refs.bib deleted file mode 100644 index 6a024b6..0000000 --- a/content/Fall-2024/math-4a/week-1/refs.bib +++ /dev/null @@ -1,9 +0,0 @@ -@article{netwok2020, - title={At-scale impact of the {Net Wok}: A culinarically holistic investigation of distributed dumplings}, - author={Astley, Rick and Morris, Linda}, - journal={Armenian Journal of Proceedings}, - volume={61}, - pages={192--219}, - year=2020, - publisher={Automatic Publishing Inc.} -} diff --git a/content/Fall-2024/math-4a/week-2/main.typ b/content/Fall-2024/math-4a/week-2/main.typ deleted file mode 100644 index 75a69df..0000000 --- a/content/Fall-2024/math-4a/week-2/main.typ +++ /dev/null @@ -1,165 +0,0 @@ -#import "@preview/unequivocal-ams:0.1.1": ams-article, theorem, proof - -#show: ams-article.with( - title: [A Digression on Abstract Linear Algebra], - authors: ( - ( - name: "Youwen Wu", - organization: [University of California, Santa Barbara], - email: "youwen@ucsb.edu", - url: "https://youwen.dev", - ), - ), - bibliography: bibliography("refs.bib"), -) - -= Introduction - -Many introductory linear algebra classes focus on _application_. In general, -this is a red herring and is engineer-speak for "we will teach you how to -crunch numbers with no regard for conceptual understanding." - -If you are a math major (or math-adjacent, such as Computer Science), this -class is essentially useless for you. You will learn how to perform trivial -numerical operations such as the _matrix multiplication_, _matrix-vector -multiplication_, _row reduction_, and other trite tasks better suited for -computers. - -If you are taking this course, you might as well learn linear algebra properly. -Otherwise, you will have to re-learn it later on, anyways. Completing a math -course without gaining a theoretical appreciation for the topics at hand is an -unequivocal waste of time. I have prepared this brief crash course designed to -fill in the theoretical gaps left by this class. - -= Basic Notions - -== Vector spaces - -Before we can understand vectors, we need to first discuss _vector spaces_. Thus -far, you have likely encountered vectors primarily in physics classes, -generally in the two-dimensional plane. You may conceptualize them as arrows in -space. For vectors of size $>3$, a hand waving argument is made that they are -essentially just arrows in higher dimensional spaces. - -It is helpful to take a step back from this primitive geometric understanding -of the vector. Let us build up a rigorous idea of vectors from first -principles. - -=== Vector axioms - -The so-called _axioms_ of a _vector space_ (which we'll call the vector space -$V$) are as follows: - -#enum[ - Commutativity: $u + v = v + u, " " forall u,v in V$ -][ - Associativity: $(u + v) + w = u + (v + w), " " forall u,v,w in V$ -][ - Zero vector: $exists$ a special vector, denoted $0$, such that $v + 0 = v, " " forall v in V$ -][ - Additive inverse: $forall v in V, " " exists w in V "such that" v + w = 0$. Such an additive inverse is generally denoted $-v$ -][ - Multiplicative identity: $1 v = v, " " forall v in V$ -][ - Multiplicative associativity: $(alpha beta) v = alpha (beta v) " " forall v in V, "scalars" alpha, beta$ -][ - Distributive property for vectors: $alpha (u + v) = alpha u + alpha v " " forall u,v in V, "scalars" alpha$ -][ - Distributive property for scalars: $(alpha + beta) v = alpha v + beta v " " forall v in V, " scalars" alpha, beta$ -] - -It is easy to show that the zero vector $0$ and the additive inverse $-v$ are -_unique_. We leave the proof of this fact as an exercise. - -These may seem difficult to memorize, but they are essentially the same -familiar algebraic properties of numbers you know from high school. The -important thing to remember is which operations are valid for what objects. For -example, you cannot add a vector and scalar, as it does not make sense. - -_Remark_. For those of you versed in computer science, you may recognize this -as essentially saying that you must ensure your operations are _type-safe_. -Adding a vector and scalar is not just false, it is an _invalid question_ -entirely because vectors and scalars and different types of mathematical -objects. See #cite(, form: "prose") for more. - -=== Vectors big and small - -In order to begin your descent into what mathematicians colloquially recognize -as _abstract vapid nonsense_, let's discuss which fields constitute a vector space. We -have the familiar space where all scalars are real numbers, or $RR$. We -generally discuss 2-D or 3-D vectors, corresponding to vectors of length 2 or -3; in our case, $RR^2$ and $RR^3$. - -However, vectors in $RR$ can really be of any length. Discard your primitive -conception of vectors as arrows in space. Vectors are simply arbitrary length -lists of numbers (for the computer science folk: think C++ `std::vector`). - -_Example_. $ vec(1,2,3,4,5,6,7,8,9) $ - -Moreover, vectors need not be in $RR$ at all. Recall that a vector space need -only satisfy the aforementioned _axioms of a vector space_. - -_Example_. The vector space $CC$ is similar to $RR$, except it includes complex -numbers. All complex vector spaces are real vector spaces (as you can simply -restrict them to only use the real numbers), but not the other way around. - -In general, we can have a vector space where the scalars are in an arbitrary -field $FF$, as long as the axioms are satisfied. - -_Example_. The vector space of all polynomials of degree 3, or $PP^3$. It is -not yet clear what this vector may look like. We shall return to this example -once we discuss _basis_. - -== Vector addition. Multiplication - -Vector addition, represented by $+$, and multiplication, represented by the -$dot$ (dot) operator, can be done entrywise. - -_Example._ - -$ - vec(1,2,3) + vec(4,5,6) = vec(1 + 4, 2 + 5, 3 + 6) = vec(5,7,9) -$ -$ - vec(1,2,3) dot vec(4,5,6) = vec(1 dot 4, 2 dot 5, 3 dot 6) = vec(4,10,18) -$ - -This is simple enough to understand. Again, the difficulty is simply ensuring -that you always perform operations with the correct _types_. For example, once -we introduce matrices, it doesn't make sense to multiply or add vectors and -matrices in this fashion. - -== Vector-scalar multiplication - -Multiplying a vector by a scalar simply results in each entry of the vector -being multiplied by the scalar. - -_Example_. - -$ beta vec(a, b, c) = vec(beta dot a, beta dot b, beta dot c) $ - -== Matrices - -Before discussing any properties of matrices, let's simply reiterate what we -learned in class about their notation. We say a matrix with rows of length $m$, -and columns of size $n$ (in less precise terms, a matrix with length $m$ and -height $n$) is a $m times n$ matrix. - -Given a matrix - -$ A = mat(1,2,3;4,5,6;7,8,9) $ - -we refer to the entry in row $j$ and column $k$ as $A_(j,k)$ . - -=== Matrix transpose - -A formalism that is useful later on is called the _transpose_, and we obtain it -from a matrix $A$ by switching all the rows and columns. More precisely, each -row becomes a column instead. We use the notation $A^T$ to represent the -transpose of $A$. - -$ - mat(1,2,3;4,5,6)^T = mat(1,4;2,5;3,6) -$ - -Formally, we can say $(A_(j,k))^T = A_(k,j)$. diff --git a/content/Fall-2024/math-4a/week-2/refs.bib b/content/Fall-2024/math-4a/week-2/refs.bib deleted file mode 100644 index ef367c4..0000000 --- a/content/Fall-2024/math-4a/week-2/refs.bib +++ /dev/null @@ -1,6 +0,0 @@ -@misc{chen2024digression, - author = {Evan Chen}, - title = {Digression on Type Safety}, - year = {2024}, - howpublished = {\url{https://web.evanchen.cc/upload/1802/tsafe-1802.pdf}}, -} diff --git a/content/Fall-2024/mes-45/peace-dialogue-notes.md b/content/Fall-2024/mes-45/peace-dialogue-notes.md deleted file mode 100644 index 4f1a5d9..0000000 --- a/content/Fall-2024/mes-45/peace-dialogue-notes.md +++ /dev/null @@ -1,118 +0,0 @@ -# Peace dialogue notes - -Rotem Levin's introduction - -- Grew up as Israeli, became soldier -- Doubted morals, told to not think about consequences -- Army is above everything -- Never imagined meeting Palestinians -> always told to never cross wall (into - West Bank), violent -- Never heard about Nakba (in Israel) until Germany -> In Israel, Law prohibits teaching Nakba -- Israeli/Palestine peace activists: First step forward is recognizing the - other side -- Decided to move and live with Palestinian friends in West Bank -> reaction - was shock -- Oppressive system, Israeli government encroaching on Palestinian way of life - -Osama Illiwat's introduction - -- Lived in Jericho, born in East Jerusalem -- Stories of Nakba were earliest -- In Jerusalem, no services, not allowed to fix houses, etc -- Army gave two options: administrative detention -> kidnapped by General for - 2-3 years or military court -- Learned about all injustices committed by jews (Israelis) and began to feel - hate, throw stones, etc -- Heard of peace talks, celebrations in Jericho -- Felt not recognized by international law, community, etc -> no rights -- Palestinian schools closed by Israeli army -- Shocked by jews who believe in peace -> could not believe they exist -> only - one narrative -- Met woman who believed had right to live on land, but did not believe they - had the right to displace and discriminate against others -- Everyone is suffering, paying the price -- Went to Europe, learned what happened to Jews (holocaust) -> came to - conclusion that Israelis and Palestinians have to meet and talk to resist the - system -- Started "Visit Palestine" to show Israelis what Palestine and life under - occupation looks like -- Only way forward is to give everyone their freedom - -Questions: - -Where was the meeting in Bethlehem? - -_Q: What other parts of the system oppress the people?_ - -A: There are three groups: - -First - from (Jordan) River to Sea. Arabs born in Israel ostensibly have -citizenship - -Second group: Palestinians in West Bank, Gaza: not citizens, military -law/police instead of civil police - -Third group: Palestinians expelled - -The entire system is how to guarantee Jewish majority (ethnostate). You can't -guarantee "Jewish democratic state" without discrimination. Jewish democratic -state / Jewish majority / "Jewish supremacy" - -_Q: Is land redistribution is a path through this crisis, and do you see that as -a part of this movement?_ - -A: In America, ethnic cleansing is complete, so we can talk about reparations, -redistribution, etc. In Gaza, we are in the middle of ethnic cleansing. -Redistribution is a "fantasy", because we need to stop the violence now. Of -course, it is part of thefuture, but no one is imagining it because worried -about more immediate issues - -Need to work on a ceasefire now. Worrying about what is the best solution, -peace organization, etc, is us trying to keep conscience happy. No one knows -about what is going on in Gaza, Israeli jails, etc. We need to talk about the -governments defending Israel's crimes. Peace organizations are part of the -system. Can't use system to change system. - -Israeli government doesn't want citizens to learn common language with Arabs. -Discourage learning Arabic. Want to keep people apart because otherwise they -will realize they are similar. - -System needs to keep people divided to dehumanize them. - -_Q: Who in the system do or would you think you need to speak to?_ - -A: Very flexible, willing to speak to anyone who agrees or disagrees with us. -Want to convince everyone. - -_Q: What do you think are the best steps to take to promote ceasefire on -individual and institutional level?_ - -A: We are all complicit because the system in Israel is the same system here. -The same military complex, the same bombs. Understand how system works, and -unite and build power and a movement. Need to be open and let people who -disagree with us into our space, to stop separation of us against them. -Transformation takes time. We are fighting against the empire who makes -billions while we kill each other. - -Q: It seems that real transformation will not occur until mass media begins to -change. The most respected media voices censor much of the discourse. What has -your experience been with the media branding many of your points as -anti-semitic? - -A: The mainstream media are not interested. Only invited by podcasts and small -newspapers. Big channels will never talk to the activists. We need to build -alternative independent media. - -Q: Do you feel that with support for Palestine on social media, Israelis are -beginning to see the actions of the Israeli state? - -A: More and more Israelis are waking up but it's not enough, the mainstream are -moving right. Every night, the news is propaganda. The prevalence social media -and phones is very good because it's finally documenting the war crimes. -Before, people wouldn't believe the atrocities committed by the Israel -government. The US government is working more for Israel than the Americans. - -Q: Is the way that we discuss the issues productive? - -A: Many people are too busy infighting amongst themselves, when they have no -skin in the game. diff --git a/content/Fall-2024/mes-45/peace-dialogue.typ b/content/Fall-2024/mes-45/peace-dialogue.typ deleted file mode 100644 index 20fd5b2..0000000 --- a/content/Fall-2024/mes-45/peace-dialogue.typ +++ /dev/null @@ -1,18 +0,0 @@ -#import "@preview/ilm:1.2.1": * - -#set text(lang: "en") - -#show: ilm.with( - title: [Notes on the Israeli-Palestine Peace Dialogue], - author: "Youwen Wu", - date: datetime(year: 2024, month: 10, day: 08), - abstract: [ - ], - figure-index: (enabled: true), - table-index: (enabled: true), - listing-index: (enabled: true), -) - -= Introductions - -- Recruited to diff --git a/content/Fall-2024/mes-45/week-1.md b/content/Fall-2024/mes-45/week-1.md deleted file mode 100644 index 361b13b..0000000 --- a/content/Fall-2024/mes-45/week-1.md +++ /dev/null @@ -1,43 +0,0 @@ -# Week 1 - -## Goldschmidt & Marashi Reading - -- What is "middle east"? - - Nile Valley to Muslim lands of Central Asia -- Geography: hot + dry, rainfall but small - - Many farming villages found, however - - Polar ice caps retreated, rainfall diminished. People move to Nile, Tigris, - Euphrates, etc. -- Middle East more accessible than US, China, etc. -- Not endowed w/ nature; no grassy plains, scarce drinking water -- Meager mineral deposits -- Huge oil reserves (more than half of world's), but concentrated in few - countries: Saudi Arabia, Iran, Kuwait, Iraq, UAE -- Exploitation started in 20th century -- Mountains shield minorities in countries (eg. Lebanon, Yemen, Iran) while - invasions bring new races + culture into Middle East, resulting in cultural - "mosaic" - many physical characteristics, belief systems, languages, cultures - -- "Mosaic" starts to crumble - modern information age (schooling, TV, etc) lead - to universal culture (mostly) among young -- Cultural/religious difference persist -> conflicts. Muslims felt unequal to - Christians -> Lebanon civil wars -- Iraq -> Suni vs. Shi'a Muslims -- Israel -> 1.7 million Arabs in borders -- Gaza Strip -> occupied between 1967 -> 2005, invaded 2006, 2009, 2014, - contains 1.8 million Arabs. Jews (in Israel) divided between European or Asian - and African origin (Ashkenazim vs. Mizrachim / Orientals). -- Interaction between humans + geography important -- Main causes of ME conflict - 1. Incomplete transfer from religious / theological government to secular - government - 2. Resulting belief that governments are illegitimate, not willingly obeyed - 3. Quest for dignity + freedom by people determined to not lose independence - (again) - 4. Involvement of outside gov't without regard for the people in ME - 5. Growing concentration of destructive weapons in volatile countries - 6. Scarcity of / demand for food, water, fossil fuels - 7. Overpopulation and widening inequality (wealth gap) - 8. Failure to resolve Palestine-Israel - 9. Sectarian / Ethnic tensions - 10. Palestinian, Iraqi, Syrian, Yemeni refuges. Internal displacement. diff --git a/content/Fall-2024/mes-45/wiki-bios.md b/content/Fall-2024/mes-45/wiki-bios.md deleted file mode 100644 index 8faa0e9..0000000 --- a/content/Fall-2024/mes-45/wiki-bios.md +++ /dev/null @@ -1,54 +0,0 @@ -# Wiki Bios - -## Wiki Bio 3 - -Shirin Aliabadi 10 March 1973 -> 1 October 2018 - -### biography - -- Born in Tehran, Iran -- Mentored by older borther -- Raised in rich environment until Iranian Revolution, went abroad to study art - history at University of Paris -- Commuted between Paris and Tehran, although primarily based in Tehran -- Exhibited worldwide -- Art is part of several notable collections (Deutsche Bank in Germany, Bristol - City Museum and Art Gallery, Farjam Collection in Dubai) -- Passed away in Tehran after battling cancer - -### artwork - -- Delves into conflicting influences on young urban Iranian women -- Tension between traditional values, religious restrictions, pervasive impact - of globalized Western culture -- Photographic series _Girls in Cars_, women riding in cars, ready to party - - Illustrates contradiction between Iranian restrictions and youthful women - who were engaging with Western style traditions -- _Operation Supermarket_, criticized failed capitalism and consumerism - - Common household goods to question and critique societal values and - economic systems -- _Miss Hybrid_ presents young Iranian women in unconventional and striking - ways, features women with bleached blonde hair, blue contacts, flawless - makeup, in contrast with traditional view of Muslim women. - -### bio - -Shirin Aliabadi was a contemporary Iranian artist. Born on March 10th, 1973 in -Tehran, Iran, she was exposed to a rich environment of art and culture while -growing up, until the Iranian Revolution left both of her parents jobless. -However, they still managed to send her overseas where she obtained a degree in -art history at the University of Paris. - -Aliabadi was primarily based in Tehran but frequently commuted to Paris. Her -artwork spans both photographs and drawings and has been exhibited worldwide, -including in collections in Germany, Dubai, and France. A prevalent theme in -her artwork is the contrast between the traditional view held in the West of -muslim women and the reality around her in Iran. Her most famous works, _Girls -in Cars_, and _Miss Hybrid_, both portrayed Iranian women in unconventional -ways that were in contradiction with the traditional culture and values muslim -women are often associated with. Women were depicted with bleached blonde hair, -flawless makeup, and heading to parties in cars. Aliabadi's artwork highlighted -the social and cultural structures in Iranian society and the shifts happening -alongside the proliferation of Western culture. - -Aliabadi passed away in 2018 at the age of 45 after battling cancer. diff --git a/content/Hacks/liminalOS-docs.md b/content/Hacks/liminalOS-docs.md new file mode 100644 index 0000000..f1b411f --- /dev/null +++ b/content/Hacks/liminalOS-docs.md @@ -0,0 +1,94 @@ +--- +id: liminalOS-docs +aliases: [] +tags: + - nixos + - nixpkgs + - liminalos + - linux +title: Documentation for liminalOS system distribution +--- + +This is documentation for the [liminalOS system +distribution](https://github.com/youwen5/liminalOS), a Linux distribution built +on [NixOS](https://nixos.org). + +The goal of liminalOS is to provide an opinionated desktop environment and +system for those too lazy to spend 100 hours ricing their NixOS system. + +To that end, a NixOS module and home manager module are provided such that it +is possible to configure an entire operating system powered by a riced out +desktop environment built on Hyprland in a few lines. These modules come with +verified versions of all of the other flake input modules that compose NixOS, +so that you don't have to manage and version Home Manager, stylix, agenix, etc +yourself. + +Central to this system is the `liminalOS` option that is added to both home +manager and NixOS. It is designed to be used alongside a very minimal NixOS and +home manager configuration to define the entire liminalOS system. + +You only need to set up basic things like a minimal `flake.nix`, +`configuration.nix`, and `home.nix`, where you need only set up a basic user +(in both NixOS and HM) and boot loader configuration. The rest of the higher +level system features will be handled by the `liminalOS` abstraction. + +Something like this is sufficient to bootstrap a liminalOS system. It can be +dropped into any existing NixOS system and be used alongside an existing +configuration. + +```nix +# file: configuration.nix +{ + liminalOS = { + config.allowUnfree = true; + defaultEditor = pkgs.helix; + formFactor = "desktop"; + theming = { + # place your desired wallpaper in your configuration repo and watch your + # system theme itself + wallpaper = ./wallpaper.jpg; + }; + system.graphics.nvidia.enable = true; + extras.gaming.enable = true; + }; + + # Set up a user + users.users.default-user = { + isNormalUser = true; + description = "Default liminalOS user!"; + extraGroups = [ + "networkmanager" + "wheel" + ]; + shell = pkgs.fish; + }; + + home-manager.users.default-user = { + # in this simple example, the content of ./home.nix is an import of the + # liminalOS home manager module + imports = [ ./home.nix ]; + }; + home-manager.extraSpecialArgs = { inherit inputs; }; + + # Set your time zone + time.timeZone = "America/Los_Angeles"; + + # Bootloader and kernel. + boot = { + loader = { + efi.canTouchEfiVariables = true; + timeout = 15; + systemd-boot = { + enable = true; + }; + }; + }; +} +``` + +## Full liminalOS module options + +These are all of the available options set by `liminalOS`, automatically +generated from liminalOS' modules. Keep in mind that many of these are enabled +automatically when `liminalOS.enable` is set to true, but they are still +available for fine-grained customization. diff --git a/content/index.md b/content/index.md index 24240fd..bbd4879 100644 --- a/content/index.md +++ b/content/index.md @@ -11,19 +11,23 @@ Welcome! You've stumbled upon (or perhaps were pointed to) my public-facing This is where I grow my ideas, and they are meticulously tagged to form the knowledge graphs you see in the top right. -Currently this is a very new vault and the only contents are the trash notes -which I took in the fall quarter of 2024. You can find them in -[the Fall 2024 directory](./Fall-2024), with [[./Fall-2024/as-am-5/week-1.md]], -[[./Fall-2024/as-am-5/week-2.md]] and [[./Fall-2024/mes-45/week-1.md]] being -the weekly notes. +Currently this is a very new vault and there are not many contents. It will +likely be updated with notes on courses in mathematics and computer science as +well as other expository content. -If you're interested in the Nix package manager, I've also started maintaining -a sort of "cheat sheet" or "tips and tricks" collection around various quirks -and features of the NixOS / nixpkgs ecosystem in -[[nixos-cheat-sheet]]. Maybe you'll find something useful in -there! +In addition, many of my experiments and hacks will be documented here for +posterity. -Feel free to take a look around and appreciate the scenery. +If you're interested in the Nix package manager, I've started maintaining a +sort of "cheat sheet" or "tips and tricks" collection around various quirks and +features of the NixOS / nixpkgs ecosystem in [[nixos-cheat-sheet]]. Maybe +you'll find something useful in there! + +Also, there is some documentation on the +[liminalOS](https://github.com/youwen5/liminalOS) system distribution in +[[liminalos-docs]]. + +Feel free to take a look around and appreciate the scenery! ## FAQ diff --git a/flake.lock b/flake.lock index 369a3b3..d97a1b3 100644 --- a/flake.lock +++ b/flake.lock @@ -1,6 +1,821 @@ { "nodes": { + "agenix": { + "inputs": { + "agenix": "agenix_2", + "crane": "crane", + "flake-utils": [ + "liminalOS", + "flake-utils" + ], + "nixpkgs": [ + "liminalOS", + "nixpkgs" + ], + "rust-overlay": "rust-overlay" + }, + "locked": { + "lastModified": 1726755133, + "narHash": "sha256-03XIEjHeZEjHXctsXYUB+ZLQmM0WuhR6qWQjwekFk/M=", + "owner": "yaxitech", + "repo": "ragenix", + "rev": "687ee92114bce9c4724376cf6b21235abe880bfa", + "type": "github" + }, + "original": { + "owner": "yaxitech", + "repo": "ragenix", + "type": "github" + } + }, + "agenix_2": { + "inputs": { + "darwin": "darwin", + "home-manager": "home-manager", + "nixpkgs": [ + "liminalOS", + "agenix", + "nixpkgs" + ], + "systems": "systems" + }, + "locked": { + "lastModified": 1723293904, + "narHash": "sha256-b+uqzj+Wa6xgMS9aNbX4I+sXeb5biPDi39VgvSFqFvU=", + "owner": "ryantm", + "repo": "agenix", + "rev": "f6291c5935fdc4e0bef208cfc0dcab7e3f7a1c41", + "type": "github" + }, + "original": { + "owner": "ryantm", + "repo": "agenix", + "type": "github" + } + }, + "apple-firmware": { + "flake": false, + "locked": { + "lastModified": 1725473433, + "narHash": "sha256-XG87QYz9zUwxkcft5SaF11ZZNtBT/xuy0uX7EcjPkJ8=", + "ref": "refs/heads/main", + "rev": "890d58bbfa4eeb1d6fbe3e44066a60c7b697b09d", + "revCount": 4, + "type": "git", + "url": "https://code.youwen.dev/youwen5/apple-firmware" + }, + "original": { + "type": "git", + "url": "https://code.youwen.dev/youwen5/apple-firmware" + } + }, + "apple-silicon": { + "inputs": { + "flake-compat": "flake-compat", + "nixpkgs": [ + "liminalOS", + "nixpkgs" + ], + "rust-overlay": "rust-overlay_2" + }, + "locked": { + "lastModified": 1735172763, + "narHash": "sha256-a6n8RsiAolz6p24Fsr/gTndx9xr9USpKqKK6kzBeXQc=", + "owner": "tpwrules", + "repo": "nixos-apple-silicon", + "rev": "3daf0637409689d7a1304cedc50d20542bc47905", + "type": "github" + }, + "original": { + "owner": "tpwrules", + "repo": "nixos-apple-silicon", + "type": "github" + } + }, + "base16": { + "inputs": { + "fromYaml": "fromYaml" + }, + "locked": { + "lastModified": 1732200724, + "narHash": "sha256-+R1BH5wHhfnycySb7Sy5KbYEaTJZWm1h+LW1OtyhiTs=", + "owner": "SenchoPens", + "repo": "base16.nix", + "rev": "153d52373b0fb2d343592871009a286ec8837aec", + "type": "github" + }, + "original": { + "owner": "SenchoPens", + "repo": "base16.nix", + "type": "github" + } + }, + "base16-fish": { + "flake": false, + "locked": { + "lastModified": 1622559957, + "narHash": "sha256-PebymhVYbL8trDVVXxCvZgc0S5VxI7I1Hv4RMSquTpA=", + "owner": "tomyun", + "repo": "base16-fish", + "rev": "2f6dd973a9075dabccd26f1cded09508180bf5fe", + "type": "github" + }, + "original": { + "owner": "tomyun", + "repo": "base16-fish", + "type": "github" + } + }, + "base16-helix": { + "flake": false, + "locked": { + "lastModified": 1725860795, + "narHash": "sha256-Z2o8VBPW3I+KKTSfe25kskz0EUj7MpUh8u355Z1nVsU=", + "owner": "tinted-theming", + "repo": "base16-helix", + "rev": "7f795bf75d38e0eea9fed287264067ca187b88a9", + "type": "github" + }, + "original": { + "owner": "tinted-theming", + "repo": "base16-helix", + "type": "github" + } + }, + "base16-vim": { + "flake": false, + "locked": { + "lastModified": 1731949548, + "narHash": "sha256-XIDexXM66sSh5j/x70e054BnUsviibUShW7XhbDGhYo=", + "owner": "tinted-theming", + "repo": "base16-vim", + "rev": "61165b1632409bd55e530f3dbdd4477f011cadc6", + "type": "github" + }, + "original": { + "owner": "tinted-theming", + "repo": "base16-vim", + "type": "github" + } + }, + "brew-src": { + "flake": false, + "locked": { + "lastModified": 1731323744, + "narHash": "sha256-SxUQm4cTHcaoPQHoXe26ZV8cZiMWBGow8MjE4L+MckM=", + "owner": "Homebrew", + "repo": "brew", + "rev": "254bf3fe9d8fa2e1b2fb55dbcf535b2d870180c4", + "type": "github" + }, + "original": { + "owner": "Homebrew", + "ref": "4.4.5", + "repo": "brew", + "type": "github" + } + }, + "cpu-microcodes": { + "flake": false, + "locked": { + "lastModified": 1734880358, + "narHash": "sha256-nLxzu0X1txVOu7LxadpOLL+EbcS6FCI/xrulsqglMg4=", + "owner": "platomav", + "repo": "CPUMicrocodes", + "rev": "9953c622cc5555b88cb73f042a78bbc8e0edc587", + "type": "github" + }, + "original": { + "owner": "platomav", + "repo": "CPUMicrocodes", + "rev": "9953c622cc5555b88cb73f042a78bbc8e0edc587", + "type": "github" + } + }, + "crane": { + "locked": { + "lastModified": 1734808813, + "narHash": "sha256-3aH/0Y6ajIlfy7j52FGZ+s4icVX0oHhqBzRdlOeztqg=", + "owner": "ipetkov", + "repo": "crane", + "rev": "72e2d02dbac80c8c86bf6bf3e785536acf8ee926", + "type": "github" + }, + "original": { + "owner": "ipetkov", + "repo": "crane", + "type": "github" + } + }, + "crane_2": { + "inputs": { + "nixpkgs": [ + "liminalOS", + "lanzaboote", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1717535930, + "narHash": "sha256-1hZ/txnbd/RmiBPNUs7i8UQw2N89uAK3UzrGAWdnFfU=", + "owner": "ipetkov", + "repo": "crane", + "rev": "55e7754ec31dac78980c8be45f8a28e80e370946", + "type": "github" + }, + "original": { + "owner": "ipetkov", + "repo": "crane", + "type": "github" + } + }, + "darwin": { + "inputs": { + "nixpkgs": [ + "liminalOS", + "agenix", + "agenix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1700795494, + "narHash": "sha256-gzGLZSiOhf155FW7262kdHo2YDeugp3VuIFb4/GGng0=", + "owner": "lnl7", + "repo": "nix-darwin", + "rev": "4b9b83d5a92e8c1fbfd8eb27eda375908c11ec4d", + "type": "github" + }, + "original": { + "owner": "lnl7", + "ref": "master", + "repo": "nix-darwin", + "type": "github" + } + }, + "flake-compat": { + "locked": { + "lastModified": 1688025799, + "narHash": "sha256-ktpB4dRtnksm9F5WawoIkEneh1nrEvuxb5lJFt1iOyw=", + "owner": "nix-community", + "repo": "flake-compat", + "rev": "8bf105319d44f6b9f0d764efa4fdef9f1cc9ba1c", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_2": { + "flake": false, + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_3": { + "flake": false, + "locked": { + "lastModified": 1733328505, + "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_4": { + "flake": false, + "locked": { + "lastModified": 1733328505, + "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_5": { + "flake": false, + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-parts": { + "inputs": { + "nixpkgs-lib": [ + "liminalOS", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1733312601, + "narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-utils": { + "inputs": { + "systems": "systems_2" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_2": { + "inputs": { + "systems": "systems_3" + }, + "locked": { + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_3": { + "inputs": { + "systems": "systems_4" + }, + "locked": { + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "fromYaml": { + "flake": false, + "locked": { + "lastModified": 1731966426, + "narHash": "sha256-lq95WydhbUTWig/JpqiB7oViTcHFP8Lv41IGtayokA8=", + "owner": "SenchoPens", + "repo": "fromYaml", + "rev": "106af9e2f715e2d828df706c386a685698f3223b", + "type": "github" + }, + "original": { + "owner": "SenchoPens", + "repo": "fromYaml", + "type": "github" + } + }, + "gitignore": { + "inputs": { + "nixpkgs": [ + "liminalOS", + "lanzaboote", + "pre-commit-hooks-nix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709087332, + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, + "gnome-shell": { + "flake": false, + "locked": { + "lastModified": 1732369855, + "narHash": "sha256-JhUWbcYPjHO3Xs3x9/Z9RuqXbcp5yhPluGjwsdE2GMg=", + "owner": "GNOME", + "repo": "gnome-shell", + "rev": "dadd58f630eeea41d645ee225a63f719390829dc", + "type": "github" + }, + "original": { + "owner": "GNOME", + "ref": "47.2", + "repo": "gnome-shell", + "type": "github" + } + }, + "home-manager": { + "inputs": { + "nixpkgs": [ + "liminalOS", + "agenix", + "agenix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1703113217, + "narHash": "sha256-7ulcXOk63TIT2lVDSExj7XzFx09LpdSAPtvgtM7yQPE=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "3bfaacf46133c037bb356193bd2f1765d9dc82c1", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, + "home-manager_2": { + "inputs": { + "nixpkgs": [ + "liminalOS", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1735381016, + "narHash": "sha256-CyCZFhMUkuYbSD6bxB/r43EdmDE7hYeZZPTCv0GudO4=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "10e99c43cdf4a0713b4e81d90691d22c6a58bdf2", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, + "home-manager_3": { + "inputs": { + "nixpkgs": [ + "liminalOS", + "stylix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1733085484, + "narHash": "sha256-dVmNuUajnU18oHzBQWZm1BQtANCHaqNuxTHZQ+GN0r8=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "c1fee8d4a60b89cae12b288ba9dbc608ff298163", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, + "homebrew-cask": { + "flake": false, + "locked": { + "lastModified": 1735595043, + "narHash": "sha256-j7RHPkUYv95Z+fab8qQ9AoSnWEnuikFLQiIfaDiVjx8=", + "owner": "homebrew", + "repo": "homebrew-cask", + "rev": "3197b31a2a37f858e7105480dede4c27abc25ec0", + "type": "github" + }, + "original": { + "owner": "homebrew", + "repo": "homebrew-cask", + "type": "github" + } + }, + "homebrew-core": { + "flake": false, + "locked": { + "lastModified": 1735591533, + "narHash": "sha256-j9Y5S3KA6eRB87+aYrxxdZY1RdFX/cJImJqWS5aShl0=", + "owner": "homebrew", + "repo": "homebrew-core", + "rev": "6c6d0ea613f57bcef5d167e6d6a91b9b4862610e", + "type": "github" + }, + "original": { + "owner": "homebrew", + "repo": "homebrew-core", + "type": "github" + } + }, + "lanzaboote": { + "inputs": { + "crane": "crane_2", + "flake-compat": "flake-compat_2", + "flake-parts": [ + "liminalOS", + "flake-parts" + ], + "flake-utils": "flake-utils_2", + "nixpkgs": [ + "liminalOS", + "nixpkgs" + ], + "pre-commit-hooks-nix": "pre-commit-hooks-nix", + "rust-overlay": "rust-overlay_3" + }, + "locked": { + "lastModified": 1718178907, + "narHash": "sha256-eSZyrQ9uoPB9iPQ8Y5H7gAmAgAvCw3InStmU3oEjqsE=", + "owner": "nix-community", + "repo": "lanzaboote", + "rev": "b627ccd97d0159214cee5c7db1412b75e4be6086", + "type": "github" + }, + "original": { + "owner": "nix-community", + "ref": "v0.4.1", + "repo": "lanzaboote", + "type": "github" + } + }, + "liminalOS": { + "inputs": { + "agenix": "agenix", + "apple-firmware": "apple-firmware", + "apple-silicon": "apple-silicon", + "flake-parts": "flake-parts", + "flake-utils": "flake-utils", + "home-manager": "home-manager_2", + "homebrew-cask": "homebrew-cask", + "homebrew-core": "homebrew-core", + "lanzaboote": "lanzaboote", + "nix-darwin": "nix-darwin", + "nix-flatpak": "nix-flatpak", + "nix-homebrew": "nix-homebrew", + "nix-index-database": "nix-index-database", + "nixos-wsl": "nixos-wsl", + "nixpkgs": "nixpkgs_2", + "spicetify": "spicetify", + "stylix": "stylix", + "ucode": "ucode", + "vesktop-bin": "vesktop-bin", + "viminal": "viminal", + "zen-browser": "zen-browser" + }, + "locked": { + "lastModified": 1735815416, + "narHash": "sha256-KjrwR3xTHtctfxKr7BkiF1ZqHhj1QR1jQOmiZ92E3EM=", + "owner": "youwen5", + "repo": "liminalOS", + "rev": "c346a920d67cfde0f7c413e3316dbaa9d7d175ab", + "type": "github" + }, + "original": { + "owner": "youwen5", + "repo": "liminalOS", + "type": "github" + } + }, + "nix-darwin": { + "inputs": { + "nixpkgs": [ + "liminalOS", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1735478292, + "narHash": "sha256-Ys9pSP9ch0SthhpbjnkCSJ9ZLfaNKnt/dcy7swjmS1A=", + "owner": "LnL7", + "repo": "nix-darwin", + "rev": "71a3a075e3229a7518d76636bb762aef2bcb73ac", + "type": "github" + }, + "original": { + "owner": "LnL7", + "repo": "nix-darwin", + "type": "github" + } + }, + "nix-darwin_2": { + "inputs": { + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1716329735, + "narHash": "sha256-ap51w+VqG21vuzyQ04WrhI2YbWHd3UGz0e7dc/QQmoA=", + "owner": "LnL7", + "repo": "nix-darwin", + "rev": "eac4f25028c1975a939c8f8fba95c12f8a25e01c", + "type": "github" + }, + "original": { + "owner": "LnL7", + "repo": "nix-darwin", + "type": "github" + } + }, + "nix-flatpak": { + "locked": { + "lastModified": 1735500379, + "narHash": "sha256-5qmX6YYjYfVYBbsmd2XxbTi7A59YuuN9IwfXU7qFquQ=", + "owner": "gmodena", + "repo": "nix-flatpak", + "rev": "c31b6cbd11707fe2c74ad805ef085d59d75116ae", + "type": "github" + }, + "original": { + "owner": "gmodena", + "repo": "nix-flatpak", + "type": "github" + } + }, + "nix-homebrew": { + "inputs": { + "brew-src": "brew-src", + "flake-utils": "flake-utils_3", + "nix-darwin": "nix-darwin_2", + "nixpkgs": [ + "liminalOS", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1732145543, + "narHash": "sha256-VRQh/lvCSko9YV7haXyPt7DSp+EkgjjBv/9U4cY9c50=", + "owner": "zhaofengli-wip", + "repo": "nix-homebrew", + "rev": "ac3945ee614f69ab89c6935b3f0567028de5f012", + "type": "github" + }, + "original": { + "owner": "zhaofengli-wip", + "repo": "nix-homebrew", + "type": "github" + } + }, + "nix-index-database": { + "inputs": { + "nixpkgs": [ + "liminalOS", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1735443188, + "narHash": "sha256-AydPpRBh8+NOkrLylG7vTsHrGO2b5L7XkMEL5HlzcA8=", + "owner": "nix-community", + "repo": "nix-index-database", + "rev": "55ab1e1df5daf2476e6b826b69a82862dcbd7544", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nix-index-database", + "type": "github" + } + }, + "nixCats": { + "locked": { + "lastModified": 1735318798, + "narHash": "sha256-x1hq2uimNBQtYtkaJ4KODKQmdbAYvnd1hoxRyyPekWE=", + "owner": "BirdeeHub", + "repo": "nixCats-nvim", + "rev": "58a8782879f926192b06b95f75538618456062ae", + "type": "github" + }, + "original": { + "owner": "BirdeeHub", + "repo": "nixCats-nvim", + "type": "github" + } + }, + "nixos-wsl": { + "inputs": { + "flake-compat": "flake-compat_3", + "flake-utils": [ + "liminalOS", + "flake-utils" + ], + "nixpkgs": [ + "liminalOS", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1733854371, + "narHash": "sha256-K9qGHniYBbjqVcEiwXyiofj/IFf78L5F0/FCf+CKyr0=", + "owner": "nix-community", + "repo": "NixOS-WSL", + "rev": "dee4425dcee3149475ead0cb6a616b8a028c5888", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "NixOS-WSL", + "type": "github" + } + }, "nixpkgs": { + "locked": { + "lastModified": 1687274257, + "narHash": "sha256-TutzPriQcZ8FghDhEolnHcYU2oHIG5XWF+/SUBNnAOE=", + "path": "/nix/store/22qgs3skscd9bmrxv9xv4q5d4wwm5ppx-source", + "rev": "2c9ecd1f0400076a4d6b2193ad468ff0a7e7fdc5", + "type": "path" + }, + "original": { + "id": "nixpkgs", + "type": "indirect" + } + }, + "nixpkgs-stable": { + "locked": { + "lastModified": 1710695816, + "narHash": "sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "614b4613980a522ba49f0d194531beddbb7220d3", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-23.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1735471104, + "narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "88195a94f390381c6afcdaa933c2f6ff93959cb4", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { "locked": { "lastModified": 1735291276, "narHash": "sha256-NYVcA06+blsLG6wpAbSPTCyLvxD/92Hy4vlY9WxFI1M=", @@ -16,9 +831,435 @@ "type": "github" } }, + "plugins-blink-ripgrep": { + "flake": false, + "locked": { + "lastModified": 1735411615, + "narHash": "sha256-V3Tf8bPpO7KjP/AwcgYjMZdTejydvBx/t33H3+wsNLo=", + "owner": "mikavilpas", + "repo": "blink-ripgrep.nvim", + "rev": "f4d9460a3552c735c7835a545ce32125610c1ce5", + "type": "github" + }, + "original": { + "owner": "mikavilpas", + "repo": "blink-ripgrep.nvim", + "type": "github" + } + }, + "plugins-pomo-nvim": { + "flake": false, + "locked": { + "lastModified": 1722376269, + "narHash": "sha256-tJ2TrypKnCnQm+6FDjX0KDr+UNoBBVvGIm+uWJtpNLc=", + "owner": "epwalsh", + "repo": "pomo.nvim", + "rev": "aa8decc421d89be0f10b1fc6a602cdd269f350ff", + "type": "github" + }, + "original": { + "owner": "epwalsh", + "repo": "pomo.nvim", + "type": "github" + } + }, + "pre-commit-hooks-nix": { + "inputs": { + "flake-compat": [ + "liminalOS", + "lanzaboote", + "flake-compat" + ], + "gitignore": "gitignore", + "nixpkgs": [ + "liminalOS", + "lanzaboote", + "nixpkgs" + ], + "nixpkgs-stable": "nixpkgs-stable" + }, + "locked": { + "lastModified": 1717664902, + "narHash": "sha256-7XfBuLULizXjXfBYy/VV+SpYMHreNRHk9nKMsm1bgb4=", + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "rev": "cc4d466cb1254af050ff7bdf47f6d404a7c646d1", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "type": "github" + } + }, "root": { "inputs": { - "nixpkgs": "nixpkgs" + "liminalOS": "liminalOS", + "nixpkgs": "nixpkgs_3" + } + }, + "rust-overlay": { + "inputs": { + "nixpkgs": [ + "liminalOS", + "agenix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1735525800, + "narHash": "sha256-pcN8LAL021zdC99a9F7iEiFCI1wmrE4DpIYUgKpB/jY=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "10faa81b4c0135a04716cbd1649260d82b2890cd", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, + "rust-overlay_2": { + "flake": false, + "locked": { + "lastModified": 1686795910, + "narHash": "sha256-jDa40qRZ0GRQtP9EMZdf+uCbvzuLnJglTUI2JoHfWDc=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "5c2b97c0a9bc5217fc3dfb1555aae0fb756d99f9", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, + "rust-overlay_3": { + "inputs": { + "flake-utils": [ + "liminalOS", + "lanzaboote", + "flake-utils" + ], + "nixpkgs": [ + "liminalOS", + "lanzaboote", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1717813066, + "narHash": "sha256-wqbRwq3i7g5EHIui0bIi84mdqZ/It1AXBSLJ5tafD28=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "6dc3e45fe4aee36efeed24d64fc68b1f989d5465", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, + "spicetify": { + "inputs": { + "flake-compat": "flake-compat_4", + "nixpkgs": [ + "liminalOS", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1735532154, + "narHash": "sha256-b+Yz6cOqcDmWYt8BIifTrY1n8q5zTJEHuEh/16nhS7k=", + "owner": "Gerg-L", + "repo": "spicetify-nix", + "rev": "52c3363e4a6896c263657491e8177ee8b63af3b4", + "type": "github" + }, + "original": { + "owner": "Gerg-L", + "repo": "spicetify-nix", + "type": "github" + } + }, + "stylix": { + "inputs": { + "base16": "base16", + "base16-fish": "base16-fish", + "base16-helix": "base16-helix", + "base16-vim": "base16-vim", + "flake-compat": "flake-compat_5", + "flake-utils": [ + "liminalOS", + "flake-utils" + ], + "gnome-shell": "gnome-shell", + "home-manager": "home-manager_3", + "nixpkgs": [ + "liminalOS", + "nixpkgs" + ], + "systems": "systems_5", + "tinted-foot": "tinted-foot", + "tinted-kitty": "tinted-kitty", + "tinted-tmux": "tinted-tmux" + }, + "locked": { + "lastModified": 1735524788, + "narHash": "sha256-R4i8VCdSGLWHt6cL5p2Cmlh9MRodZsYO8moUjvxYb54=", + "owner": "danth", + "repo": "stylix", + "rev": "a4ed4168fb83289374f24cb8a039c6983637a076", + "type": "github" + }, + "original": { + "owner": "danth", + "repo": "stylix", + "type": "github" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_3": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_4": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_5": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "tinted-foot": { + "flake": false, + "locked": { + "lastModified": 1726913040, + "narHash": "sha256-+eDZPkw7efMNUf3/Pv0EmsidqdwNJ1TaOum6k7lngDQ=", + "owner": "tinted-theming", + "repo": "tinted-foot", + "rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4", + "type": "github" + }, + "original": { + "owner": "tinted-theming", + "repo": "tinted-foot", + "rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4", + "type": "github" + } + }, + "tinted-kitty": { + "flake": false, + "locked": { + "lastModified": 1716423189, + "narHash": "sha256-2xF3sH7UIwegn+2gKzMpFi3pk5DlIlM18+vj17Uf82U=", + "owner": "tinted-theming", + "repo": "tinted-kitty", + "rev": "eb39e141db14baef052893285df9f266df041ff8", + "type": "github" + }, + "original": { + "owner": "tinted-theming", + "repo": "tinted-kitty", + "rev": "eb39e141db14baef052893285df9f266df041ff8", + "type": "github" + } + }, + "tinted-tmux": { + "flake": false, + "locked": { + "lastModified": 1729501581, + "narHash": "sha256-1ohEFMC23elnl39kxWnjzH1l2DFWWx4DhFNNYDTYt54=", + "owner": "tinted-theming", + "repo": "tinted-tmux", + "rev": "f0e7f7974a6441033eb0a172a0342e96722b4f14", + "type": "github" + }, + "original": { + "owner": "tinted-theming", + "repo": "tinted-tmux", + "type": "github" + } + }, + "ucode": { + "inputs": { + "cpu-microcodes": "cpu-microcodes" + }, + "locked": { + "lastModified": 1734918967, + "narHash": "sha256-2BoHRzShQYseyY1eNlHAlFLGZVJqWbCnW3F4BZMWyiU=", + "owner": "e-tho", + "repo": "ucodenix", + "rev": "e672b17a0991427328efbbca8dc88ea855888709", + "type": "github" + }, + "original": { + "owner": "e-tho", + "repo": "ucodenix", + "type": "github" + } + }, + "vesktop-bin": { + "inputs": { + "flake-parts": [ + "liminalOS", + "flake-parts" + ], + "nixpkgs": [ + "liminalOS", + "nixpkgs" + ], + "vesktop-bin-aarch64": "vesktop-bin-aarch64", + "vesktop-bin-x86_64": "vesktop-bin-x86_64" + }, + "locked": { + "lastModified": 1734171864, + "narHash": "sha256-4N+s5WFVmKA4LaL4uvHWZLl38TiRI0Aj5yJZn7GdTpE=", + "owner": "youwen5", + "repo": "vesktop-bin-flake", + "rev": "9b9c3a8ffa34ee6f6f2d9fcce757bd5668af60a9", + "type": "github" + }, + "original": { + "owner": "youwen5", + "repo": "vesktop-bin-flake", + "type": "github" + } + }, + "vesktop-bin-aarch64": { + "flake": false, + "locked": { + "lastModified": 1733428233, + "narHash": "sha256-1rBeTydPb+3cvB0Ex2kF7WiEznOB8spcK3aacsZnvHI=", + "type": "tarball", + "url": "https://github.com/Vencord/Vesktop/releases/download/v1.5.4/vesktop-1.5.4-arm64.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/Vencord/Vesktop/releases/download/v1.5.4/vesktop-1.5.4-arm64.tar.gz" + } + }, + "vesktop-bin-x86_64": { + "flake": false, + "locked": { + "lastModified": 1733428227, + "narHash": "sha256-En1+KqdHgO5+uKTBB4WNJpUZypA4iNZYKUCafSjFM9Y=", + "type": "tarball", + "url": "https://github.com/Vencord/Vesktop/releases/download/v1.5.4/vesktop-1.5.4.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/Vencord/Vesktop/releases/download/v1.5.4/vesktop-1.5.4.tar.gz" + } + }, + "viminal": { + "inputs": { + "nixCats": "nixCats", + "nixpkgs": [ + "liminalOS", + "nixpkgs" + ], + "plugins-blink-ripgrep": "plugins-blink-ripgrep", + "plugins-pomo-nvim": "plugins-pomo-nvim" + }, + "locked": { + "lastModified": 1735598635, + "narHash": "sha256-GRv8HHtzo3z9HiAxTVGJO6hoz6J7QvzuNamDLCanml0=", + "ref": "refs/heads/main", + "rev": "03981ad2cbc54351a8d9645101bb83be4231bc2d", + "revCount": 100, + "type": "git", + "url": "https://code.youwen.dev/youwen5/viminal2" + }, + "original": { + "type": "git", + "url": "https://code.youwen.dev/youwen5/viminal2" + } + }, + "zen-browser": { + "inputs": { + "nixpkgs": [ + "liminalOS", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1735446997, + "narHash": "sha256-Er9Jftp09FPMya0qpb2H+PKBkVgTbGSayNes2sQd9hQ=", + "owner": "youwen5", + "repo": "zen-browser-flake", + "rev": "12bba4871d25e1f51d0ccb1967a49ade45811849", + "type": "github" + }, + "original": { + "owner": "youwen5", + "repo": "zen-browser-flake", + "type": "github" } } }, diff --git a/flake.nix b/flake.nix index 872be44..408259b 100644 --- a/flake.nix +++ b/flake.nix @@ -1,8 +1,9 @@ { inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + inputs.liminalOS.url = "github:youwen5/liminalOS"; outputs = - { nixpkgs, self, ... }: + inputs@{ nixpkgs, self, ... }: let forAllSystems = nixpkgs.lib.genAttrs [ "x86_64-linux" @@ -19,7 +20,9 @@ inherit (pkgs) callPackage; in { - default = callPackage ./site.nix { }; + default = callPackage ./site.nix { + liminalOSDocs = inputs.liminalOS.packages.${system}.docs; + }; } ); apps = forAllSystems ( diff --git a/site.nix b/site.nix index de94020..ca0299b 100644 --- a/site.nix +++ b/site.nix @@ -2,6 +2,7 @@ stdenvNoCC, nodejs, pnpm, + liminalOSDocs, }: stdenvNoCC.mkDerivation (finalAttrs: { pname = "alexandria"; @@ -20,6 +21,10 @@ stdenvNoCC.mkDerivation (finalAttrs: { }; buildPhase = '' + mv ./content/Hacks/liminalOS.md ./liminalOS-docs_tmp + cat ./liminalOS-docs_tmp ${liminalOSDocs} >> ./content/Hacks/liminalOS.md + rm ./liminalOS-docs_tmp + node ./quartz/bootstrap-cli.mjs build '';